Re: [ansible-project] Blockinfile - how to delete text

2017-08-31 Thread Kai Stian Olstad
On torsdag 31. august 2017 18.24.14 CEST Anfield wrote: > textfile - > > giraffe > This is my text to add > Noo > penguin > robot > > #BEGIN ANSIBLE MANAGED BLOCK > tree > #BEGIN ANSIBLE MANAGED BLOCK > > > Tried the following playbook and it just deleted the last wrapper > >

[ansible-project] Blockinfile - how to delete text

2017-08-31 Thread Anfield
I have this text file and I was trying to delete some text that I had just added. Not sure how I would go about deleting 1) The entire text tree and the wrappers #BEGIN ANSIBLE MANAGED BLOCK 2) Just deleting the text tree Can anyone explain? Thanks The delete functionality is not functioning