8 lines
232 B
YAML
8 lines
232 B
YAML
- name: Destroy containers on interrupt
|
|
hosts: localhost
|
|
tasks:
|
|
- name: Ensure containers are destroyed
|
|
docker_container:
|
|
name: "{{ item.name }}"
|
|
state: absent
|
|
loop: "{{ molecule_yml.platforms }}" |