On 03.06.16 18:28 Joanna Delaporte wrote: > According to the module docs > <http://docs.ansible.com/ansible/lineinfile_module.html>, there is > different behaviour whether you are replacing an existing line (backrefs) > or adding a non-existent line (insertafter or insertbefore). > Insertafter/insertbefore will add a new line but not remove the old one.
Thanks Joanna for the clarification. I should use that module more often... ;-) Johannes -- 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/5751B3B4.9090105%40ojkastl.de. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
