Move configuration of the apt proxy to the defaults
This commit is contained in:
parent
fd4b90e010
commit
b5fede2d46
|
@ -20,7 +20,7 @@ timeservers:
|
||||||
ntpservers:
|
ntpservers:
|
||||||
- "{{ server_address }}"
|
- "{{ server_address }}"
|
||||||
apt_cacher_offline_mode: false
|
apt_cacher_offline_mode: false
|
||||||
use_apt_cache_for_server: false
|
use_apt_cache_for_server: true
|
||||||
|
|
||||||
fai_etc_dir: "/etc/fai"
|
fai_etc_dir: "/etc/fai"
|
||||||
fai_dir: "/srv/fai"
|
fai_dir: "/srv/fai"
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
- name: "Set apt cache also for installer host"
|
- name: "Set apt cache also for installer host"
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: "/etc/apt/apt.conf.d/00proxy"
|
dest: "/etc/apt/apt.conf.d/02proxy"
|
||||||
content: |
|
content: |
|
||||||
Acquire::http::Proxy "http://localhost:3142";
|
Acquire::http::Proxy "http://localhost:3142";
|
||||||
owner: root
|
owner: root
|
||||||
|
|
Loading…
Reference in New Issue