if you only want to add a file in /apt/sour

> On 27/06/2014, at 12:50, zhong ming wu <[email protected]> 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
>   apt_repository: repo="deb http://repo.local.example.com/apt/u14 xyz main"
> 
> 
> Ansible just add a new line to the existing file in
> 
> /etc/apt/sources.list.d/
> 
> Is there any case where this behavior makes sense?  In my case, this breaks 
> things because the server with 'abcd' distribution does not exist any more 
> and 'apt-get update' fails
> 
> Z M Wu
> 
> 
> -- 
> 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/9e8a6422-321e-4a0f-a632-f9a7dd09076b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/6F419824-E819-4254-8CDD-8FEFD1EE83BF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to