ansible-nas/roles/ispyagentdvr/molecule/default/verify_stopped.yml

19 lines
441 B
YAML
Raw Normal View History

2024-06-10 18:29:01 +00:00
---
- 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