ansible-nas/roles/krusader/molecule/default/verify_stopped.yml
2023-03-09 21:47:42 +01:00

19 lines
418 B
YAML

---
- name: Verify
hosts: all
gather_facts: false
tasks:
- name: Include vars
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
assert:
that:
- not result.changed