base-jobs/playbooks/molecule/post-run.yaml
Mohammed Naser 4d6516700d give jobs names
Change-Id: I387d5e02d8474c3d0680500de373387952783d47
2022-05-01 18:52:33 -04:00

17 lines
459 B
YAML

---
- hosts: molecule
roles:
- fetch-output
- hosts: ubuntu-focal
tasks:
# NOTE(mnaser): We refresh the inventory to drop all the hosts we've added
# using the add_host task to avoid any failures after.
- meta: refresh_inventory
- name: molecule destroy
shell: molecule destroy
args:
chdir: "{{ zuul.project.src_dir }}"
environment:
ATMOSPHERE_STACK_NAME: "atmosphere-{{ zuul.build }}"