commit | 9e0c5c5b5d3b0a5dbbc96acf1e70bf4701ec1bb9 | [log] [tgz] |
---|---|---|
author | Mohammed Naser <mnaser@vexxhost.com> | Mon Mar 14 18:32:50 2022 -0400 |
committer | Mohammed Naser <mnaser@vexxhost.com> | Mon Mar 14 18:39:39 2022 -0400 |
tree | b138ae7c0ad316b9c771fff468293286c18d509f | |
parent | 67ef221882bea1ca0f46bcbd95d8ef015ecebd50 [diff] |
Refactor Zuul cleanup Change-Id: I83a73e31e73e685786476043199c3b442e9bf693
diff --git a/zuul.d/playbooks/ansible-collection-atmosphere-tox-molecule/cleanup-run.yml b/zuul.d/playbooks/ansible-collection-atmosphere-tox-molecule/cleanup-run.yml index 66f8e4b..4489a0e 100644 --- a/zuul.d/playbooks/ansible-collection-atmosphere-tox-molecule/cleanup-run.yml +++ b/zuul.d/playbooks/ansible-collection-atmosphere-tox-molecule/cleanup-run.yml
@@ -13,6 +13,8 @@ # under the License. - hosts: all - tasks: - - name: Destroy the Molecule environment - shell: tox -e molecule -- destroy --all + roles: + - role: tox + vars: + tox_envlist: molecule + tox_extra_args: '-- destroy --all'