Merge "jenkins: jobs: ansible-role-jobs: Always enable the EPEL repo"
This commit is contained in:
commit
43e857a8b8
|
@ -77,19 +77,15 @@
|
||||||
template-name: "{template-name}"
|
template-name: "{template-name}"
|
||||||
- zuul-git-prep-upper-constraints
|
- zuul-git-prep-upper-constraints
|
||||||
- shell: |
|
- shell: |
|
||||||
if [[ "{name}" == *"openstack-ansible"* ]]; then
|
# EPEL must be enabled because some deps from bindep.txt are
|
||||||
# EPEL must be enabled because some deps from bindep.txt are
|
# otherwise not available
|
||||||
# otherwise not available
|
if [[ -e /usr/bin/yum ]]; then
|
||||||
if [[ -e /usr/bin/yum ]]; then
|
sudo yum-config-manager --enable epel
|
||||||
sudo yum-config-manager --enable epel
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
- install-distro-packages
|
- install-distro-packages
|
||||||
- shell: |
|
- shell: |
|
||||||
if [[ "{name}" == *"openstack-ansible"* ]]; then
|
if [[ -e /usr/bin/yum ]]; then
|
||||||
if [[ -e /usr/bin/yum ]]; then
|
sudo yum-config-manager --disable epel
|
||||||
sudo yum-config-manager --disable epel
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
- shell: |
|
- shell: |
|
||||||
# Allow Jenkins user to ssh into localhost
|
# Allow Jenkins user to ssh into localhost
|
||||||
|
|
Loading…
Reference in New Issue