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

18 lines
380 B
YAML

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