fdb813766a
* 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
)
2 lines
113 B
YAML
2 lines
113 B
YAML
bugfixes:
|
|
- correct service facts systemd detection of state https://github.com/ansible/ansible/issues/40809
|