The general question: can lineinfile be used to replace a line in a file if it's found and if it's not found add the line to the file?
Using "insertafter=EOF" should do the trick.
[]s,
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7c3c9db8-c3cd-4d19-8e0e-7280303e93b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.