mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-13 03:58:47 +00:00
18 lines
367 B
YAML
18 lines
367 B
YAML
|
---
|
||
|
# This is a Hello World playbook to execute Ansible tests.
|
||
|
|
||
|
- name: Verify
|
||
|
hosts: all
|
||
|
gather_facts: false
|
||
|
tasks:
|
||
|
- name: Try and stop and remove Hello World
|
||
|
docker_container:
|
||
|
name: hello_world
|
||
|
state: absent
|
||
|
register: result
|
||
|
|
||
|
- name: Check Hello World is stopped
|
||
|
assert:
|
||
|
that:
|
||
|
- not result.changed
|