Proxy

Ansible Role to set system, apt proxys and if needed (and installed) also snap proxys

Role Variables

Name Type Default value Purpose Comment Role
proxy_conf Boolean "false" indicates if proxy management is enabled jammy_proxy
proxy_apt Boolean "false" indicates if apt_proxy is enabled jammy_proxy
proxy_system Boolean "false" indicates if system_proxy is enabled jammy_proxy
proxy_snap Boolean "false" indicates if snap_proxy is enabled jammy_proxy
proxy_custom String "proxy.ethz.ch:3128" indicates default (ETH) proxy and can be set custom jammy_proxy
s4d_repo_server String "seed.s4d.ethz.ch" indicates the default s4d_repo_server which is normally not served over the proxies

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
   - { role: jammy_proxy, tags: ["jammy", "snap", "snapd", "proxy", "apt"] }

License

BSD

Author Information

Maintainer: Niklaus (Niggi) Kappeler

Support-Contact: servicedesk-linux@id.ethz.ch