Ensure extras repo enabled on CentOS

pull/1035/head
Adam Huffman 2016-10-16 23:23:43 +01:00
parent 869c287331
commit f3dea0d40a
1 changed files with 12 additions and 0 deletions

View File

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