Make installation of EPEL optional (#1721)

This commit is contained in:
Peter Slijkhuis 2017-09-29 14:44:29 +02:00 committed by Matthew Mosesohn
parent a55675acf8
commit 371fa51e82
2 changed files with 2 additions and 0 deletions

View file

@ -5,6 +5,7 @@ run_gitinfos: false
ignore_assert_errors: false
epel_rpm_download_url: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
epel_enabled: true
common_required_pkgs:
- python-httplib2

View file

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