remove yum priority

in the past we were using priority in order to mask package from epel.
now we only install epel with a very limited list of allowed pkg and only when
needed. This patch remove the priority for yum repos.

Change-Id: If50a5fcbb6622ad11b0c56e7f6c7c2947fbab195
Depends-On: Ifca03344bfab8442a11b1c82443427c164b9bd57
Depends-On: I2e42ef4022aaaa2e1cb9f461e63ce2e9e1f49511
This commit is contained in:
Marc Gariepy
2018-06-21 09:26:55 -04:00
committed by Marc Gariépy (mgariepy)
parent a64d1124bc
commit e31bb3a821

View File

@@ -53,13 +53,13 @@
- ansible_pkg_mgr in ['yum', 'dnf']
tags:
- skip_ansible_lint
- name: Increase priority for Ceph repos
- name: Set default priority for Ceph repos
command: >
yum-config-manager
--enable Ceph
--setopt="Ceph.priority=50"
--setopt="Ceph.priority=99"
--enable Ceph-noarch
--setopt="Ceph-noarch.priority=50"
--setopt="Ceph-noarch.priority=99"
when:
- ansible_pkg_mgr in ['yum', 'dnf']
- name: Create systemd service directory
@@ -159,13 +159,13 @@
- ansible_pkg_mgr in ['yum', 'dnf']
tags:
- skip_ansible_lint
- name: Increase priority for Ceph repos
- name: Set default priority for Ceph repos
command: >
yum-config-manager
--enable Ceph
--setopt="Ceph.priority=50"
--setopt="Ceph.priority=99"
--enable Ceph-noarch
--setopt="Ceph-noarch.priority=50"
--setopt="Ceph-noarch.priority=99"
when:
- ansible_pkg_mgr in ['yum', 'dnf']
- name: Gather ceph-mon facts