diff --git a/roles/mgmt/UpdateAllhosts.yml b/roles/mgmt/UpdateAllhosts.yml index 815b9d5..be7239e 100644 --- a/roles/mgmt/UpdateAllhosts.yml +++ b/roles/mgmt/UpdateAllhosts.yml @@ -7,6 +7,13 @@ vars: tasks: + - name: Set up apt proxy configuration + copy: + content: | + Acquire::http::Proxy "http://debcache:3142"; + dest: /etc/apt/apt.conf.d/00cacher + mode: '0644' + notify: apt cache update - name: Upgrade-packages.yml - update packages include: ../../roles/lib/upgrade-packages.yml