On 24. aug. 2016 23:23, Soren Olegnowicz wrote:
So I have a task that delegates a template deployed to one server to a
different server. When this task is run on just a single server I get no
errors. However if I try running this delegation task on all the servers
(16 servers) it needs to be deployed to in a single play, then it will only
succeed on only 50%-80% of the servers. The servers that it fails on are
random every time I run the play (in dry mode).

Ansible default to running all task on all host before moving to the next task. Forks is default to 5, so this template will have 5 simultaneous runs on the delegate_to host. So if the template is changing the same file they will interfere with each other.

--
Kai Stian Olstad

--
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/9d6bd3c1-fca9-f319-a7ac-8bdb4ea9bdf8%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to