mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
10 lines
307 B
YAML
10 lines
307 B
YAML
- name: remove the upstart init file
|
|
file: path=/etc/init/ansible_test state=absent
|
|
register: remove_upstart_result
|
|
|
|
- name: assert that the upstart init file was removed
|
|
assert:
|
|
that:
|
|
- "remove_upstart_result.path == '/etc/init/ansible_test'"
|
|
- "remove_upstart_result.state == 'absent'"
|
|
|