mirror of https://github.com/ceph/ceph-ansible.git
Ensure extras repo enabled for CentOS across different roles
Signed-off-by: Adam Huffman <bloch@verdurin.com>pull/1035/head
parent
4315166e91
commit
9de16e4d94
|
@ -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 }}"
|
||||
|
|
|
@ -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