Merge "Enable EPEL for openstack-ansible CentOS bindeps packages"
This commit is contained in:
commit
7c45b56b20
|
@ -63,7 +63,21 @@
|
|||
- print-template-name:
|
||||
template-name: "{template-name}"
|
||||
- openstack-ansible-tests-checkout
|
||||
- shell: |
|
||||
if [[ "{name}" == *"openstack-ansible"* ]]; then
|
||||
# EPEL must be enabled because some deps from bindep.txt are
|
||||
# otherwise not available
|
||||
if [[ -e /usr/bin/yum ]]; then
|
||||
sudo yum-config-manager --enable epel
|
||||
fi
|
||||
fi
|
||||
- install-distro-packages
|
||||
- shell: |
|
||||
if [[ "{name}" == *"openstack-ansible"* ]]; then
|
||||
if [[ -e /usr/bin/yum ]]; then
|
||||
sudo yum-config-manager --disable epel
|
||||
fi
|
||||
fi
|
||||
- shell: |
|
||||
# Allow Jenkins user to ssh into localhost
|
||||
ssh-keygen -f ~/.ssh/id_rsa -N ""
|
||||
|
|
Loading…
Reference in New Issue