ansible/changelogs/fragments/59471-systemd-wait-while-deactivating.yaml
Strahinja Kustudic aec6dc3b26 systemd module will now wait on deactivating state (#59471) (#60939)
* systemd module will now wait on deactivating state (#59471)

If a service is in the 'deactivating' state running systemctl stop foo,
would wait for the foo service to actually stop before it exits. The
module didn't behave like that and it considered the deactivating state
as if the service wasn't running. This change will align the module with
the systemctl behaviour.

(cherry picked from commit 54d9d7805d)

* Fix systemd start state with deactivating service state

(cherry picked from commit ee4b3b8854)
2019-09-04 12:18:43 -07:00

2 lines
151 B
YAML

bugfixes:
- systemd - wait for a service which is in deactivating state when using ``state=stopped`` (https://github.com/ansible/ansible/pull/59471)