Debian Codegraph @

ansible_collections/community/zabbix/molecule/zabbix_agent_tests/common/playbooks/destroy.yml

raw
1 ---
2 - name: Destroy
3 hosts: localhost
4 connection: local
5
6 gather_facts: false
7
8 tasks:
9 - name: Destroy OS container(s)
10 community.docker.docker_container:
11 name: "{{ item.name }}"
12 state: absent
13 force_kill: "{{ item.force_kill | default(True) }}"
14 loop: "{{ molecule_yml.platforms }}"
15
16 post_tasks:
17 - name: Destroy network
18 community.docker.docker_network:
19 name: zabbix
20 state: absent