mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
@@ -151,7 +151,7 @@ def main():
|
||||
module.exit_json(changed=False, name=name, state=state)
|
||||
|
||||
rc, out, err = run_supervisorctl('status', name)
|
||||
running = 'RUNNING' in out
|
||||
running = 'RUNNING' in out or '(already running)' in out
|
||||
|
||||
if running and state == 'started':
|
||||
module.exit_json(changed=False, name=name, state=state)
|
||||
|
||||
Reference in New Issue
Block a user