Ensure that Trusty checks run for the security role
Change-Id: I310ea2687bf1e1873f6918aab6b08b3489303ab2
This commit is contained in:
parent
7698aebf69
commit
cede471b7f
@ -83,7 +83,7 @@ function gate_job_exit_tasks {
|
|||||||
source /etc/os-release 2>/dev/null
|
source /etc/os-release 2>/dev/null
|
||||||
export DISTRO_ID="${ID}"
|
export DISTRO_ID="${ID}"
|
||||||
export DISTRO_VERSION_ID="${VERSION_ID}"
|
export DISTRO_VERSION_ID="${VERSION_ID}"
|
||||||
if [[ "${DISTRO_ID}" == 'ubuntu' ]] && [[ "${DISTRO_VERSION_ID}" == '14.04' ]]; then
|
if [[ "${ROLE_NAME}" != "openstack-ansible-security" ]] && [[ "${DISTRO_ID}" == 'ubuntu' ]] && [[ "${DISTRO_VERSION_ID}" == '14.04' ]]; then
|
||||||
echo "Ubuntu Trusty detected. Exiting without running the job."
|
echo "Ubuntu Trusty detected. Exiting without running the job."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user