This commit is contained in:
parent
aeb29078c1
commit
ffd15afa3a
@ -5,20 +5,12 @@ apt:
|
||||
hostname: apt.local
|
||||
port: 8000
|
||||
config:
|
||||
10periodic:
|
||||
- APT::Periodic::Update-Package-Lists "1";
|
||||
- APT::Periodic::Download-Upgradeable-Packages "1";
|
||||
- APT::Periodic::AutocleanInterval "0";
|
||||
10proxy:
|
||||
content:
|
||||
- Acquire::http::ProxyAutoDetect "/usr/local/bin/apt-proxy-detect.py";
|
||||
- Acquire::https::Proxy "DIRECT";
|
||||
- Acquire::http::ProxyAutoDetect "/usr/local/bin/apt-proxy-detect.py";
|
||||
- Acquire::https::Proxy "DIRECT";
|
||||
99unauth:
|
||||
content:
|
||||
- APT::Get::AllowUnauthenticated "true";
|
||||
|
||||
# apt:
|
||||
# config:
|
||||
# 10proxy:
|
||||
# content:
|
||||
# - Acquire::http::Proxy "http://proxy:8000";
|
||||
# - Acquire::https::Proxy "DIRECT";
|
||||
# 99unauth:
|
||||
# content:
|
||||
# - APT::Get::AllowUnauthenticated "true";
|
||||
- APT::Get::AllowUnauthenticated "true";
|
||||
|
@ -20,5 +20,5 @@ apt-proxy-{{ itemkey }}:
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: "0644"
|
||||
- contents: {{ itemvalue.content }}
|
||||
{% endfor -%}
|
||||
- contents: {{ itemvalue }}
|
||||
{% endfor -%}
|
||||
|
Loading…
Reference in New Issue
Block a user