mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-05 02:03:09 +00:00
* 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>