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

19 lines
388 B
YAML
Raw Normal View History

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