mirror of https://github.com/ceph/ceph-ansible.git
Ensure extras repo enabled on CentOS
parent
869c287331
commit
f3dea0d40a
|
@ -33,6 +33,18 @@
|
|||
tags:
|
||||
with_pkg
|
||||
|
||||
# ensure extras enabled for docker
|
||||
- name: enable extras on centos
|
||||
yum_repository:
|
||||
name: extras
|
||||
state: present
|
||||
enabled: yes
|
||||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
- ansible_distribution == 'CentOS'
|
||||
tags:
|
||||
with_pkg
|
||||
|
||||
- name: install pip on redhat
|
||||
yum:
|
||||
name: "{{ item }}"
|
||||
|
|
Loading…
Reference in New Issue