1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/service/tasks/sysv_cleanup.yml
Adrien Vergé 0e834fc9e4 Fix cosmetic problems in YAML source
This change corrects problems reported by the `yamllint` linter.

Since key duplication problems were removed in 4d48711, this commit
mainly fixes trailing spaces and extra empty lines at beginning/end of
files.
2016-11-11 14:50:57 -08:00

9 lines
295 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'"