mirror of https://github.com/ansible/ansible.git
* service_facts correct meaning of state for systemd service units
Fixes #40809
Previously this module used the commend `systemctl list-unit-files
--type=service` to query state of services but list-unit-files only
shows enabled vs disabled which is not what we want for "state"
Signed-off-by: Adam Miller <admiller@redhat.com>
* make sure to define service_name before referencing it
Signed-off-by: Adam Miller <admiller@redhat.com>
(cherry picked from commit bf1cc2f1f4
)
pull/42207/head
parent
ceb14fcc33
commit
fdb813766a
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- correct service facts systemd detection of state https://github.com/ansible/ansible/issues/40809
|
Loading…
Reference in New Issue