Merge pull request #1035 from verdurin/centos-extras

Ensure extras repo enabled on CentOS
pull/1039/head
Leseb 2016-10-18 18:23:40 +02:00 committed by GitHub
commit 74d73d1e65
7 changed files with 64 additions and 0 deletions

View File

@ -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 }}"

View File

@ -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 }}"

View File

@ -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 }}"

View File

@ -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

View File

@ -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 }}"

View File

@ -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 }}"

View File

@ -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 }}"