Gate: Improve centos support

This PS updates the CentOS Gate.

Change-Id: Ic29b9e5949fb3fb3433802f7933208f3cabfef72
This commit is contained in:
Pete Birley 2018-04-20 11:28:36 -05:00
parent 330f1787a4
commit 39ab1c3b5d
2 changed files with 1 additions and 12 deletions

View File

@ -23,17 +23,6 @@
- name: fix docker removal issue with ansible's docker_container on centos
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
block:
- name: remove requests and urllib3 pip packages to fix docker removal issue with ansible's docker_container on centos
become: true
become_user: root
include_role:
name: deploy-package
tasks_from: pip
vars:
state: absent
packages:
- requests
- urllib3
- name: remove requests and urllib3 distro packages to fix docker removal issue with ansible's docker_container on centos
become: true
become_user: root

View File

@ -56,7 +56,7 @@ function ansible_install {
sudo -H -E pip install --no-cache-dir --upgrade pip
sudo -H -E pip install --no-cache-dir --upgrade setuptools
sudo -H -E pip install --no-cache-dir --upgrade pyopenssl
sudo -H -E pip install --no-cache-dir \
sudo -H -E pip install --no-cache-dir --upgrade \
ansible \
ara \
yq