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

18 lines
425 B
YAML

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