I would expect this, don't update the same file from multiple nodes, use run_once: True on the task to have a single node do it, otherwise you'll get this type of race condition.
modules do not lock as they normally execute on diff servers, also locking in this case would be counter productive, you'll have multiple processes on diff machines competing with each other and then replacing the same file over and over. -- Brian Coca -- 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/CAJ5XC8nPpVLvdNZVL6pus3vF0U6U8HM6-Ai0njp3zi95xj-GSw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
