mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-14 04:23:56 +00:00
19 lines
396 B
YAML
19 lines
396 B
YAML
|
---
|
||
|
- name: Verify
|
||
|
hosts: all
|
||
|
gather_facts: false
|
||
|
tasks:
|
||
|
- 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
|
||
|
assert:
|
||
|
that:
|
||
|
- not result.changed
|