diff --git a/lib/ansible/modules/system/systemd.py b/lib/ansible/modules/system/systemd.py index cd46316c05c..ff03d3e296c 100644 --- a/lib/ansible/modules/system/systemd.py +++ b/lib/ansible/modules/system/systemd.py @@ -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):