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 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/9e8a6422-321e-4a0f-a632-f9a7dd09076b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to