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

View File

@ -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 -%}