@ -22,6 +22,7 @@
environment : {}
environment : {}
when:
when:
- http_proxy is defined
- http_proxy is defined
- not skip_http_proxy_on_os_packages
- name : Add http_proxy to /etc/apt/apt.conf if http_proxy is defined
- name : Add http_proxy to /etc/apt/apt.conf if http_proxy is defined
raw : echo 'Acquire::http::proxy "{{ http_proxy }}";' >> /etc/apt/apt.conf
raw : echo 'Acquire::http::proxy "{{ http_proxy }}";' >> /etc/apt/apt.conf
@ -30,6 +31,7 @@
when:
when:
- http_proxy is defined
- http_proxy is defined
- need_http_proxy.rc != 0
- need_http_proxy.rc != 0
- not skip_http_proxy_on_os_packages
- name : Check https::proxy in apt configuration files
- name : Check https::proxy in apt configuration files
raw : apt-config dump | grep -qsi 'Acquire::https::proxy'
raw : apt-config dump | grep -qsi 'Acquire::https::proxy'
@ -41,6 +43,7 @@
environment : {}
environment : {}
when:
when:
- https_proxy is defined
- https_proxy is defined
- not skip_http_proxy_on_os_packages
- name : Add https_proxy to /etc/apt/apt.conf if https_proxy is defined
- name : Add https_proxy to /etc/apt/apt.conf if https_proxy is defined
raw : echo 'Acquire::https::proxy "{{ https_proxy }}";' >> /etc/apt/apt.conf
raw : echo 'Acquire::https::proxy "{{ https_proxy }}";' >> /etc/apt/apt.conf
@ -49,6 +52,7 @@
when:
when:
- https_proxy is defined
- https_proxy is defined
- need_https_proxy.rc != 0
- need_https_proxy.rc != 0
- not skip_http_proxy_on_os_packages
- name : Check Network Name Resolution configuration
- name : Check Network Name Resolution configuration
raw : grep '^DNSSEC=allow-downgrade' /etc/systemd/resolved.conf
raw : grep '^DNSSEC=allow-downgrade' /etc/systemd/resolved.conf