mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Testing that service not enabled during check run (#16739)
* Enabled more tests in test_service on systems with systemd. * Fix inconsistency in cleaning up test service. The conditions for service setup and service cleanup were different. * Add check mode run for service enable.
This commit is contained in:
committed by
Matt Clay
parent
380ed053e8
commit
2bc679be07
@@ -1,6 +1,3 @@
|
||||
- name: set service_type fact
|
||||
set_fact: service_type=sysv
|
||||
|
||||
- name: install the sysV init file
|
||||
copy: src=ansible.sysv dest=/etc/init.d/ansible_test mode=0755
|
||||
register: install_sysv_result
|
||||
|
||||
Reference in New Issue
Block a user