Replace EPEL with RDO

This patch ensures that the tests install the RDO repository and that
the EPEL repository is not installed.

Related-bug: 1670012
Change-Id: Ibaa1984093c6643eefa1faee720f4a5f6b0c3b60
This commit is contained in:
Major Hayden 2017-03-06 08:32:44 -06:00 committed by Jesse Pretorius (odyssey4me)
parent a533d20d9e
commit cc2bac16dd

View File

@ -34,11 +34,19 @@
when:
- ansible_os_family == 'Debian'
- name: install the epel repo rpm from a remote repo
- name: Install the RDO release package
yum:
name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
name: "https://repos.fedorapeople.org/repos/openstack/openstack-ocata/rdo-release-ocata.rpm"
state: "present"
when: ansible_pkg_mgr == 'yum'
when:
- ansible_pkg_mgr == 'yum'
- name: Ensure EPEL repository is removed
yum:
name: epel-release
state: absent
when:
- ansible_pkg_mgr == 'yum'
- name: Set the files to copy into the container cache for OpenStack-CI instances
set_fact: