Re: [ansible-project] behavior of changing apt_repository is to add a new line and preserving the old data

2014-06-27 Thread Enrique Paredes
if you only want to add a file in /apt/sour On 27/06/2014, at 12:50, zhong ming wu mr.z.m...@gmail.com wrote: I had the following - name: add my repository apt_repository: repo=deb http://repo.local.example.com/apt/u14 abcd main Then I changed it to - name: add my repository

Re: [ansible-project] behavior of changing apt_repository is to add a new line and preserving the old data

2014-06-27 Thread Enrique Paredes
if you want to add a file in apt/sources.d use the copy module instead. I don't know any other uses to add-apt-repository than adding ppas. (sorry for the trucated previous message) On 27/06/2014, at 12:50, zhong ming wu mr.z.m...@gmail.com wrote: I had the following - name: add my