❦ Alexander Saltanov <alexander.saltanov@gmail.com>:
I've just made the second PR against apt_repository. It has the same
features as before, but now it has no additional dependences completely.
Did not try it for now, but if I read the code correctly I wonder if it is
a drop in replacement?
As far as I can see for every apt_repository a own file in sources.list.d is
created. If I added a repository with the current version it lands in
sources.list. Is this considered? Does removing them from sources.list work
with your solution?
Testing from Debian/Ubuntu users (and comments on the ticket) are much
appreciated!
I finally found some time to test the apt_repository. I am very satisfied to
not have to install another package (python-software-properties) to manage my
apt configuration.
I did not find a problem. I tested adding and removing. I use it like this:
- name: Common | Setup empty sources.list
template: src=sources.list.j2 dest=/etc/apt/sources.list
tags: common
- name: Common | Add security repository
apt_repository: repo='deb http://security.debian.org/ wheezy/updates main contrib non-free'
tags: common