Proposed roles: debops.environment and debops.apt_proxy
ypid opened this issue · 3 comments
ypid commented
-
debops.environment
: Manage system environment variables -
debops.apt_proxy
: Configures APT to use a HTTP Proxy server
debops.system_proxy
Refs: IRC and mailing list thread: https://groups.io/g/debops/message/79
drybjed commented
The proxy configuration is done via environment variables configured in /etc/environment
and /etc/profile.d/
, so why not just settle on say, debops.environment
role for this? It makes it more general. This role would probably be at the top of common.yml
playbook to make the environent variables present as soon as possible.
debops.apt_proxy
is a good idea, some tasks from debops.apt
could be moved there.
drybjed commented
The debops.environment role has been created.
ypid commented
debops.apt_proxy is also in place. Closing 😉