mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Check all apt config files for configured proxies (#4972)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
de9443a694
commit
5826f0810c
@@ -12,8 +12,8 @@
|
|||||||
tags:
|
tags:
|
||||||
- facts
|
- facts
|
||||||
|
|
||||||
- name: Check http::proxy in /etc/apt/apt.conf
|
- name: Check http::proxy in apt configuration files
|
||||||
raw: grep -qsi 'Acquire::http::proxy' /etc/apt/apt.conf
|
raw: apt-config dump | grep -qsi 'Acquire::http::proxy'
|
||||||
register: need_http_proxy
|
register: need_http_proxy
|
||||||
failed_when: false
|
failed_when: false
|
||||||
changed_when: false
|
changed_when: false
|
||||||
@@ -31,8 +31,8 @@
|
|||||||
- http_proxy is defined
|
- http_proxy is defined
|
||||||
- need_http_proxy.rc != 0
|
- need_http_proxy.rc != 0
|
||||||
|
|
||||||
- name: Check https::proxy in /etc/apt/apt.conf
|
- name: Check https::proxy in apt configuration files
|
||||||
raw: grep -qsi 'Acquire::https::proxy' /etc/apt/apt.conf
|
raw: apt-config dump | grep -qsi 'Acquire::https::proxy'
|
||||||
register: need_https_proxy
|
register: need_https_proxy
|
||||||
failed_when: false
|
failed_when: false
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|||||||
Reference in New Issue
Block a user