updated apt state
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Paul 2023-01-17 14:44:10 +01:00
parent aeb29078c1
commit ffd15afa3a
2 changed files with 9 additions and 17 deletions

View File

@ -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";

View File

@ -20,5 +20,5 @@ apt-proxy-{{ itemkey }}:
- user: root
- group: root
- mode: "0644"
- contents: {{ itemvalue.content }}
- contents: {{ itemvalue }}
{% endfor -%}