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

18 lines
355 B
YAML
Raw Normal View History

2022-09-10 18:38:00 +00:00
---
# This is an example playbook to execute Ansible tests.
- name: Verify
hosts: all
gather_facts: false
tasks:
- name: Try and stop and remove Airsonic
docker_container:
name: airsonic
state: absent
register: result
- name: Check Airsonic is stopped
assert:
that:
- not result.changed