debops / ansible-apt

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

Create seperate apt-cacher-ng role. #53

Closed ypid closed 8 years ago

ypid commented 8 years ago

I am working on it.

drybjed commented 8 years ago

Great. apt_cacher_ng__* should be a good namespace.

drybjed commented 8 years ago

@ypid BTW, I have an idea to expose apt-cacher-ng behind nginx as for example, apt-cache.example.org, do you think that would work? nginx would be configured to provide HTTP and HTTPS but without automatic redirection, so that Debian hosts without certificates and apt-transport-https would still be able to access the cache.

ypid commented 8 years ago

Sounds interesting. I see no reason why this should not work. /acng-report.html should then probably always go via https.

As domain I would suggest the more generic version software-cache.example.org because although apt-cacher-ng has the name apt (still) in it, it can cache other repositories too by now.

ypid commented 8 years ago

Role exists by now: https://github.com/debops/ansible-apt_cacher_ng