diff options
author | pmikus <pmikus@cisco.com> | 2021-08-18 12:04:27 +0000 |
---|---|---|
committer | pmikus <pmikus@cisco.com> | 2021-08-18 12:04:27 +0000 |
commit | d41a5490f30a161561c39c4f1b08add17b9cf6f7 (patch) | |
tree | 4244f8492f66f5ba1afe1c85c3a55340b125c8f7 /fdio.infra.ansible/roles/common | |
parent | a24c98b45ca1e9d56039d7649f65ac31e006d949 (diff) |
Infra: Ansible yaml lint cleanup
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: If00b376bd78b7b603d7887c1e149e7dccdb6d217
Diffstat (limited to 'fdio.infra.ansible/roles/common')
-rw-r--r-- | fdio.infra.ansible/roles/common/defaults/main.yaml | 18 | ||||
-rw-r--r-- | fdio.infra.ansible/roles/common/tasks/main.yaml | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/fdio.infra.ansible/roles/common/defaults/main.yaml b/fdio.infra.ansible/roles/common/defaults/main.yaml index 43e40ebdf6..06cfbd80cc 100644 --- a/fdio.infra.ansible/roles/common/defaults/main.yaml +++ b/fdio.infra.ansible/roles/common/defaults/main.yaml @@ -61,12 +61,12 @@ packages_by_arch: # Proxy settings: Uncomment and fill the proper values. These variables will be # set globally by writing into /etc/environment file on target machine. -#proxy_env: -# http_proxy: http://proxy.com:80 -# HTTP_PROXY: http://proxy.com:80 -# https_proxy: http://proxy.com:80 -# HTTPS_PROXY: http://proxy.com:80 -# ftp_proxy: http://proxy.com:80 -# FTP_PROXY: http://proxy.com:80 -# no_proxy: localhost,127.0.0.1,{{ ansible_default_ipv4.address }} -# NO_PROXY: localhost,127.0.0.1,{{ ansible_default_ipv4.address }}
\ No newline at end of file +# proxy_env: +# http_proxy: http://proxy.com:80 +# HTTP_PROXY: http://proxy.com:80 +# https_proxy: http://proxy.com:80 +# HTTPS_PROXY: http://proxy.com:80 +# ftp_proxy: http://proxy.com:80 +# FTP_PROXY: http://proxy.com:80 +# no_proxy: localhost,127.0.0.1,{{ ansible_default_ipv4.address }} +# NO_PROXY: localhost,127.0.0.1,{{ ansible_default_ipv4.address }} diff --git a/fdio.infra.ansible/roles/common/tasks/main.yaml b/fdio.infra.ansible/roles/common/tasks/main.yaml index 1233690e83..7418709c99 100644 --- a/fdio.infra.ansible/roles/common/tasks/main.yaml +++ b/fdio.infra.ansible/roles/common/tasks/main.yaml @@ -13,7 +13,7 @@ - name: Inst - Update package cache (apt) apt: - update_cache: yes + update_cache: true cache_valid_time: 3600 when: - ansible_distribution|lower == 'ubuntu' |