I have the problem with service module - it /sometimes (!)/ throws an
error, when restarting supervisor.
I tried to reproduce this bug in a sandbox project, but wasnt succeed.
But in my sandbox supervisor was not handled any processes.
So - my guess, when supervisor supervising some processes - it restarts
longer, and because of it Ansible's service module fails because it has
some kind of timeout.
Here is the output with fail:
TASK: [supervisor | restart service]
******************************************
failed: [default] => {"failed": true, "item": ""}
msg: Stopping supervisor: supervisord.
Starting supervisor:
...ignoring
TASK: [supervisor | debug var=restart_supervisord_result]
*********************
ok: [default] => {
"item": "",
"restart_supervisord_result": {
"failed": true,
"invocation": {
"module_args": "name=supervisord state=restarted
enabled=yes",
"module_name": "service"
},
"item": "",
"msg": "Stopping supervisor: supervisord.\nStarting
supervisor: "
}
}
--
With kind regards, Andrew Pashkin.
cell phone - +7 (985) 898 57 59
Skype - waves_in_fluids
e-mail - [email protected]
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/537F092C.2010400%40gmx.co.uk.
For more options, visit https://groups.google.com/d/optout.