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/targets/service/tasks/rc_cleanup.yml

10 lines
281 B
YAML

- name: remove the rc init file
file: path=/etc/rc.d/ansible_test state=absent
register: remove_rc_result
- name: assert that the rc init file was removed
assert:
that:
- "remove_rc_result.path == '/etc/rc.d/ansible_test'"
- "remove_rc_result.state == 'absent'"