debops / ansible-apt

Configure and manage APT Package Manager
GNU General Public License v3.0
10 stars 15 forks source link

Merge htgoebel changes #22

Closed drybjed closed 9 years ago

htgoebel commented 9 years ago

Regarding the "bool", problem (last commit): You are right here, see http://docs.ansible.com/playbooks_variables.html#other-useful-filters But I'd prefer to use the bool-filter here, as described in the docs. Simply because apt is always defined.

drybjed commented 9 years ago

@htgoebel I'm currently rewriting the debops.reprepro role to support new autobuilder infrastructure, this will remove its dependency on debops.apt, among other things. Other components that depend on apt variables are, apt-cacher-ng, which should be moved to its own role, and Debian Preseed configuration which also should be moved to a separate role. This will make nginx, reprepro dependencies in debops.apt not needed as well, all we need is some easy way to configure cache and local APT repositories in /etc/apt/ on all hosts, but that can be done via some tasks in lists in debops.apt. After that, we can only use apt: True/False to enable/disable debops.apt role in common playbook.