ansible-nas/roles/heimdall/molecule/default/verify_stopped.yml
2022-09-11 17:33:19 +01:00

20 lines
437 B
YAML

---
# This is an example playbook to execute Ansible tests.
- name: Verify
hosts: all
gather_facts: false
tasks:
- include_vars:
file: ../../defaults/main.yml
- name: Try and stop and remove Heimdall
docker_container:
name: "{{ heimdall_container_name }}"
state: absent
register: result
- name: Check Heimdall is stopped
assert:
that:
- not result.changed