Skip to content
Snippets Groups Projects
Commit 5826f081 authored by Vincent Link's avatar Vincent Link Committed by Kubernetes Prow Robot
Browse files

Check all apt config files for configured proxies (#4972)

parent de9443a6
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,8 @@
tags:
- facts
- name: Check http::proxy in /etc/apt/apt.conf
raw: grep -qsi 'Acquire::http::proxy' /etc/apt/apt.conf
- name: Check http::proxy in apt configuration files
raw: apt-config dump | grep -qsi 'Acquire::http::proxy'
register: need_http_proxy
failed_when: false
changed_when: false
......@@ -31,8 +31,8 @@
- http_proxy is defined
- need_http_proxy.rc != 0
- name: Check https::proxy in /etc/apt/apt.conf
raw: grep -qsi 'Acquire::https::proxy' /etc/apt/apt.conf
- name: Check https::proxy in apt configuration files
raw: apt-config dump | grep -qsi 'Acquire::https::proxy'
register: need_https_proxy
failed_when: false
changed_when: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment