mirror of https://github.com/ansible/ansible.git
service_facts correct meaning of state for systemd service units (#40914)
* 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>pull/41610/head
parent
f9f368f123
commit
bf1cc2f1f4
Loading…
Reference in New Issue