Gate: Improve centos support
This PS updates the CentOS Gate. Change-Id: Ic29b9e5949fb3fb3433802f7933208f3cabfef72
This commit is contained in:
parent
330f1787a4
commit
39ab1c3b5d
@ -23,17 +23,6 @@
|
|||||||
- name: fix docker removal issue with ansible's docker_container on centos
|
- name: fix docker removal issue with ansible's docker_container on centos
|
||||||
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
||||||
block:
|
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
|
- name: remove requests and urllib3 distro packages to fix docker removal issue with ansible's docker_container on centos
|
||||||
become: true
|
become: true
|
||||||
become_user: root
|
become_user: root
|
||||||
|
@ -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 pip
|
||||||
sudo -H -E pip install --no-cache-dir --upgrade setuptools
|
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 --upgrade pyopenssl
|
||||||
sudo -H -E pip install --no-cache-dir \
|
sudo -H -E pip install --no-cache-dir --upgrade \
|
||||||
ansible \
|
ansible \
|
||||||
ara \
|
ara \
|
||||||
yq
|
yq
|
||||||
|
Loading…
x
Reference in New Issue
Block a user