Debian Codegraph @

test/integration/targets/service/tasks/sysv_cleanup.yml

raw
1 - name: remove the sysV init file
2 file: path=/etc/init.d/ansible_test state=absent
3 register: remove_sysv_result
4
5 - name: assert that the sysV init file was removed
6 assert:
7 that:
8 - "remove_sysv_result.path == '/etc/init.d/ansible_test'"
9 - "remove_sysv_result.state == 'absent'"