[ansible-project] Re: Ansible - overwriting file lineinfile when run in parallel

2019-06-26 Thread Tony Chia
Since you are using local_action, it will execute on the ansible controller instead of remote host local_action is an alternative way of doing delegate_to: localhost. These actions will be executed on local machine (Ansible control host) I don't see how it would behave differently if you use

[ansible-project] Re: Ansible - overwriting file lineinfile when run in parallel

2019-06-26 Thread Josephsimon Arokiaraj
On Tuesday, June 25, 2019 at 11:25:31 AM UTC+1, Josephsimon Arokiaraj wrote: > > Hi All, > > I am running the below code in a playbook which iterates over many hosts. > This script writes the value of ver.stdout to a file. I am seeing issue > when I run in in parallel. It is overwriting. It

[ansible-project] Re: Ansible - overwriting file lineinfile when run in parallel

2019-06-26 Thread Josephsimon Arokiaraj
Hi All, Any update on this please? Cheers, Simon J On Tuesday, June 25, 2019 at 11:25:31 AM UTC+1, Josephsimon Arokiaraj wrote: > > Hi All, > > I am running the below code in a playbook which iterates over many hosts. > This script writes the value of ver.stdout to a file. I am seeing issue >