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/sysv_cleanup.yml

11 lines
296 B
YAML

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