Commit 26a8d4ce by James Cammarata

Added 'reloaded' state to list of states checked for bounced services

Fixes #3556
parent ff203dda
...@@ -1107,7 +1107,7 @@ def main(): ...@@ -1107,7 +1107,7 @@ def main():
else: else:
# as we may have just bounced the service the service command may not # as we may have just bounced the service the service command may not
# report accurate state at this moment so just show what we ran # report accurate state at this moment so just show what we ran
if service.module.params['state'] in ['started','restarted','running']: if service.module.params['state'] in ['started','restarted','running','reloaded']:
result['state'] = 'started' result['state'] = 'started'
else: else:
result['state'] = 'stopped' result['state'] = 'stopped'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment