ansible-nas/roles/duplicacy/molecule/default/verify_stopped.yml
2022-09-12 23:27:44 +01:00

18 lines
383 B
YAML

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