PageRenderTime 30ms CodeModel.GetById 25ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/test/integration/roles/test_service/tasks/sysv_cleanup.yml

https://github.com/ajanthanm/ansible
YAML | 10 lines | 8 code | 2 blank | 0 comment | 0 complexity | 8784994403c06d927a1649db0dd9903c MD5 | raw file
 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'"
10