mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #1035 from verdurin/centos-extras
Ensure extras repo enabled on CentOSpull/1039/head
commit
74d73d1e65
|
@ -38,6 +38,15 @@
|
|||
with_pkg
|
||||
failed_when: false
|
||||
|
||||
- name: enable extras repo for centos
|
||||
yum_repository:
|
||||
name: extras
|
||||
state: present
|
||||
enabled: yes
|
||||
when: ansible_distribution == 'CentOS'
|
||||
tags:
|
||||
with_pkg
|
||||
|
||||
- name: install pip on redhat
|
||||
yum:
|
||||
name: "{{ item }}"
|
||||
|
|
|
@ -33,6 +33,17 @@
|
|||
tags:
|
||||
with_pkg
|
||||
|
||||
# ensure extras enabled for docker
|
||||
- name: enable extras on centos
|
||||
yum_repository:
|
||||
name: extras
|
||||
state: present
|
||||
enabled: yes
|
||||
when:
|
||||
- ansible_distribution == 'CentOS'
|
||||
tags:
|
||||
with_pkg
|
||||
|
||||
- name: install pip on redhat
|
||||
yum:
|
||||
name: "{{ item }}"
|
||||
|
|
|
@ -24,6 +24,15 @@
|
|||
tags:
|
||||
with_pkg
|
||||
|
||||
- name: enable extras repo for centos
|
||||
yum_repository:
|
||||
name: extras
|
||||
state: present
|
||||
enabled: yes
|
||||
when: ansible_distribution == 'CentOS'
|
||||
tags:
|
||||
with_pkg
|
||||
|
||||
- name: install pip and docker on redhat
|
||||
yum:
|
||||
name: "{{ item }}"
|
||||
|
|
|
@ -5,6 +5,14 @@
|
|||
state: present
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: enable extras repo on centos
|
||||
yum_repository:
|
||||
name: extras
|
||||
state: present
|
||||
enabled: yes
|
||||
when:
|
||||
- ansible_distribution == 'CentOS'
|
||||
|
||||
- name: install redhat dependencies via yum
|
||||
yum:
|
||||
name: parted
|
||||
|
|
|
@ -38,6 +38,15 @@
|
|||
with_pkg
|
||||
failed_when: false
|
||||
|
||||
- name: enable extras repo for centos
|
||||
yum_repository:
|
||||
name: extras
|
||||
state: present
|
||||
enabled: yes
|
||||
when: ansible_distribution == 'CentOS'
|
||||
tags:
|
||||
with_pkg
|
||||
|
||||
- name: install pip on redhat
|
||||
yum:
|
||||
name: "{{ item }}"
|
||||
|
|
|
@ -32,6 +32,15 @@
|
|||
tags:
|
||||
with_pkg
|
||||
|
||||
- name: enable extras repo on centos
|
||||
yum_repository:
|
||||
name: extras
|
||||
state: present
|
||||
enabled: yes
|
||||
when: ansible_distribution == 'CentOS'
|
||||
tags:
|
||||
with_pkg
|
||||
|
||||
- name: install pip on redhat
|
||||
yum:
|
||||
name: "{{ item }}"
|
||||
|
|
|
@ -32,6 +32,15 @@
|
|||
tags:
|
||||
with_pkg
|
||||
|
||||
- name: enable extras repo on centos
|
||||
yum_repository:
|
||||
name: extras
|
||||
state: present
|
||||
enabled: yes
|
||||
when: ansible_distribution == 'CentOS'
|
||||
tags:
|
||||
with_pkg
|
||||
|
||||
- name: install pip on redhat
|
||||
yum:
|
||||
name: "{{ item }}"
|
||||
|
|
Loading…
Reference in New Issue