mirror of https://github.com/ceph/ceph-ansible.git
ceph-osd: use ini_file instead of yum_repository to enable Centos extras
Fixes issue #1041 Signed-off-by: Andrew Schoen <aschoen@redhat.com> Resolves: issue#1041pull/1050/head
parent
860ee8cfc9
commit
3b2bd02c14
|
@ -5,11 +5,12 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: enable extras repo on centos
|
- name: enable extras repo for centos
|
||||||
yum_repository:
|
ini_file:
|
||||||
name: extras
|
dest: /etc/yum.repos.d/CentOS-Base.repo
|
||||||
state: present
|
section: extras
|
||||||
enabled: yes
|
option: enabled
|
||||||
|
value: 1
|
||||||
when: ansible_distribution == 'CentOS'
|
when: ansible_distribution == 'CentOS'
|
||||||
|
|
||||||
- name: install redhat dependencies via yum
|
- name: install redhat dependencies via yum
|
||||||
|
|
Loading…
Reference in New Issue