mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-14 20:43:57 +00:00
19 lines
377 B
YAML
19 lines
377 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: "{{ calibre_container_name }}"
|
||
|
state: absent
|
||
|
register: result
|
||
|
|
||
|
- name: Check Calibre is stopped
|
||
|
assert:
|
||
|
that:
|
||
|
- not result.changed
|