Hy, I don't understand why when i use marker only or marker_begin or marker_end, Ansible put all time on marker in the beginning *and* the end alo ..
One exemple : - name: Inserer clepub dans authorized_key blockinfile: block: "{{ lookup('file', '{{ role_path }}/files/keys/{{ nom_appli }}.key') }}" dest: '/home/{{ nv_user }}/.ssh/authorized_keys' marker: "#CLE APPLICATIVE {{nom_appli}} DE {{ nv_user }}@{{ nv_host }}" Same when i use marker_begin and marker_end ansible put all time one marker in the beginning *and* at the end of my file why ? I want only marker in the beginning of my file ! Can you help me please ??? Thanks community ansible !! ;) Regards, -- 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-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5ff90fa6-fa7f-43bc-835f-0c4534833300%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.