Can you give me more details like your script and file you are changing.

On Friday, October 27, 2017 at 3:04:13 PM UTC-4, Dave wrote:
>
> It appears when I repeatedly use blockinfile in an Ansible script on the 
> same file, it overwrites any text that was previously in the file before. 
> I'm running version 2.2 and I'm noticing it's also defining markers in the 
> file that aren't referenced in my Ansible script. I've also tried 
> specifying insertafter: EOF and insertafter: "previous line syntax", but it 
> seems I can only use the blockinfile module once in the script, from the 
> overwrites. Any advice on how to resolve?
>

-- 
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/5a3097b6-750b-4e7e-bc5f-1696d3a5d65b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to