I keep getting this error when I run a playbook with a docker task whose
state is set to 'reloaded':
fatal: [10.0.3.22]: FAILED! => {"changed": false, "failed": true,
"module_stderr": "", "module_stdout": "Traceback (most recent call
last):\r\n File \"/tmp/ansible_T257mO/ansible_module_docker.py\", line
1972, in <module>\r\n main()\r\n File
\"/tmp/ansible_T257mO/ansible_module_docker.py\", line 1942, in main\r\n
reloaded(manager, containers, count, name)\r\n File
\"/tmp/ansible_T257mO/ansible_module_docker.py\", line 1792, in
reloaded\r\n for container in manager.get_differing_containers():\r\n
File \"/tmp/ansible_T257mO/ansible_module_docker.py\", line 1305, in
get_differing_containers\r\n name, value = container_label.split('=',
1)\r\nValueError: need more than 1 value to unpack\r\n", "msg": "MODULE
FAILURE", "parsed": false}
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.
Does anyone know why it's doing this suddenly?
Thanks,
Guy
--
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/CANNH9mvOyB2cz6Vmx7pCMJ8e%3Dyvgdbc%3DTDwavNd2QsY%3Dcvhiug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.