You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
434 B

- name: Destroy
hosts: localhost
connection: local
gather_facts: False
vars:
molecule_file: "{{ lookup('env', 'MOLECULE_FILE') }}"
molecule_yml: "{{ lookup('file', molecule_file) | from_yaml }}"
hosts_orig: "{{ lookup('file', '../../hosts-base.yml') | from_yaml }}"
vars_files:
- ../../clouds.yml
- ../../private-key.yml
roles:
- { role: vm, state: absent }
- { role: firewall, state: absent }