Hello Guy, Have you updated you docker server? I am not sure, but i had the same problem now! and I just updated some one else pull requets that should solve it: https://github.com/ansible/ansible-modules-core/pull/4015
But with older ansible, it did not showed an error, it just reloaded the container, i havent looked into it. I know it reloads when it should not, like it is reloading for a container that did not change, eitherway, the PR make it run again. If you have Labels at the Dockerfile, the container will restart if you did not add them to the ansible task. Not sure if this should be the behavior, but it is. Also i think ansible 2.2 will not have this issue, as it is deprecating the docker module and using a newer one. Hope that helps! Em terça-feira, 21 de junho de 2016 21:20:40 UTC-3, Guy Knights escreveu: > > Hi Johannes, > > It's a git clone of the stable-2.1 branch. I recently (like, today) did a > 'git pull' in addition to 'git submodule update --recursive' and tried > again, still got the same error. > > I just tried switching back to the stable-2.0.0.1 branch and it seems to > be working fine, so it appears to be a specific 2.1 issue. > > Thanks, > Guy > > On Thursday, June 2, 2016 at 1:31:56 AM UTC-7, Johannes Kastl wrote: >> >> On 31.05.16 21:23 Guy Knights wrote: >> >> > I only started getting this recently after I started using ansible 2.1. >> The >> > docker task in question hasn't been modified in a long time, and if I >> > manually remove the container from the host and re-run the playbook, it >> > starts the container ok. >> >> How did you install ansible 2.1? Recently there was an error because >> some git submodules were not up to date and caused problems... >> >> Johannes >> >> >> -- 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/35c5b979-55e5-497f-8ec2-188890a2346a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
