2014-02-20 00:05:35 +01:00
|
|
|
- name: remove the upstart init file
|
2014-03-07 16:41:01 +01:00
|
|
|
file: path=/etc/init/ansible_test.conf state=absent
|
2014-02-20 00:05:35 +01:00
|
|
|
register: remove_upstart_result
|
|
|
|
|
|
|
|
- name: assert that the upstart init file was removed
|
|
|
|
assert:
|
|
|
|
that:
|
2014-03-07 16:41:01 +01:00
|
|
|
- "remove_upstart_result.path == '/etc/init/ansible_test.conf'"
|
2014-02-20 00:05:35 +01:00
|
|
|
- "remove_upstart_result.state == 'absent'"
|
|
|
|
|