Move configuration of the apt proxy to the defaults

This commit is contained in:
rockstable 2022-12-10 20:01:47 +01:00
parent fd4b90e010
commit b5fede2d46
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ timeservers:
ntpservers:
- "{{ server_address }}"
apt_cacher_offline_mode: false
use_apt_cache_for_server: false
use_apt_cache_for_server: true
fai_etc_dir: "/etc/fai"
fai_dir: "/srv/fai"

View File

@ -61,7 +61,7 @@
- name: "Set apt cache also for installer host"
become: true
ansible.builtin.copy:
dest: "/etc/apt/apt.conf.d/00proxy"
dest: "/etc/apt/apt.conf.d/02proxy"
content: |
Acquire::http::Proxy "http://localhost:3142";
owner: root