mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 19:48:47 +00:00
18 lines
426 B
YAML
18 lines
426 B
YAML
---
|
|
- name: Verify
|
|
hosts: all
|
|
gather_facts: false
|
|
tasks:
|
|
- ansible.builtin.include_vars:
|
|
file: ../../defaults/main.yml
|
|
|
|
- name: Try and stop and remove gotify
|
|
community.docker.docker_container:
|
|
name: "{{ gotify_container_name }}"
|
|
state: absent
|
|
register: result
|
|
|
|
- name: Check if gotify is stopped
|
|
ansible.builtin.assert:
|
|
that:
|
|
- not result.changed
|