Fix systemd start state with deactivating service state
This commit is contained in:
parent
a795f6941e
commit
ee4b3b8854
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ from ansible.module_utils._text import to_native
|
||||||
|
|
||||||
|
|
||||||
def is_running_service(service_status):
|
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):
|
def is_deactivating_service(service_status):
|
||||||
|
|
Loading…
Reference in a new issue