mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1050 from ceph/issue-1041
ceph-osd: use ini_file instead of yum_repository to enable Centos extraspull/1053/merge
commit
63239e05cf
|
@ -5,11 +5,12 @@
|
|||
state: present
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: enable extras repo on centos
|
||||
yum_repository:
|
||||
name: extras
|
||||
state: present
|
||||
enabled: yes
|
||||
- name: enable extras repo for centos
|
||||
ini_file:
|
||||
dest: /etc/yum.repos.d/CentOS-Base.repo
|
||||
section: extras
|
||||
option: enabled
|
||||
value: 1
|
||||
when: ansible_distribution == 'CentOS'
|
||||
|
||||
- name: install redhat dependencies via yum
|
||||
|
|
Loading…
Reference in New Issue