ansible-nas/roles/cloudflare_ddns/molecule/default/verify_stopped.yml
David Stephens 14b386ed14 Use FQCNs
2023-04-12 23:29:29 +01:00

18 lines
428 B
YAML

---
- name: Verify
hosts: all
gather_facts: false
tasks:
- ansible.builtin.include_vars:
file: ../../defaults/main.yml
- name: Try and stop and remove Cloudflare DDNS
docker_container:
name: "{{ cloudflare_container_name }}"
state: absent
register: result
- name: Check Cloudflare DDNS is stopped
ansible.builtin.assert:
that:
- not result.changed