You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/roles/test_service/tasks/upstart_cleanup.yml

11 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'"