Make installation of EPEL optional

This commit is contained in:
Peter Slijkhuis 2017-09-18 15:50:04 +02:00
parent ef8e35e39b
commit a913e39875
2 changed files with 4 additions and 0 deletions

View file

@ -1,6 +1,9 @@
--- ---
run_gitinfos: false run_gitinfos: false
# Skip installation of the EPEL repository
skip_epel: false
epel_rpm_download_url: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" epel_rpm_download_url: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
common_required_pkgs: common_required_pkgs:

View file

@ -114,6 +114,7 @@
- ansible_distribution in ["CentOS","RedHat"] - ansible_distribution in ["CentOS","RedHat"]
- not is_atomic - not is_atomic
- epel_rpm_download_url != '' - epel_rpm_download_url != ''
- not skip_epel
register: epel_task_result register: epel_task_result
until: epel_task_result|succeeded until: epel_task_result|succeeded
retries: 4 retries: 4