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/c0ef8d44-244e-4b5b-b0de-d88af263ab58%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
