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