ansible-nas/roles/ispyagentdvr/molecule/default/verify_stopped.yml
2024-06-15 20:06:42 +05:30

18 lines
441 B
YAML

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