Fix systemd start state with deactivating service state

This commit is contained in:
Strahinja Kustudic 2019-09-04 16:39:29 +02:00 committed by Toshio Kuratomi
parent a795f6941e
commit ee4b3b8854

View file

@ -271,7 +271,7 @@ from ansible.module_utils._text import to_native
def is_running_service(service_status):
return service_status['ActiveState'] in set(['active', 'activating', 'deactivating'])
return service_status['ActiveState'] in set(['active', 'activating'])
def is_deactivating_service(service_status):