blob: 8409cac18e310d5eac700364720d4c67127265b6 [file] [log] [blame]
---
- name: Validate that versions are available
setup:
when: ansible_distribution_major_version is not defined or ansible_distribution is not defined or ansible_bios_version is not defined
- name: Configure EPEL with no proxy
include: with_no_proxy.yml
when: (https_proxy is not defined or https_proxy | trim == '') and (http_proxy is not defined or http_proxy | trim == '') and (no_proxy is not defined or no_proxy | trim == '')
- name: Configure EPEL with proxy
include: with_proxy.yml
when: (https_proxy is defined or https_proxy | trim != '') and (http_proxy is defined or http_proxy | trim != '') and (no_proxy is defined or no_proxy | trim != '')