Skip to content
Snippets Groups Projects
Commit ebf8231c authored by Spencer Smith's avatar Spencer Smith
Browse files

only run if proxy variables are added

parent adceaf60
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,8 @@
- name: allow for proxies on RHEL systems
include: rhel-proxies.yml
when: ansible_distribution in ["CentOS","RedHat"] and
ansible_distribution_major_version >= 7
ansible_distribution_major_version >= 7 and
(http_proxy is defined or https_proxy is defined or no_proxy is defined)
- meta: flush_handlers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment