Ability to skip security hardening tags in leap
Add the ability to skip certain hardening tags during the leap process if required. Change-Id: If30c27d370e0bdf18bf71a4df895e89a40efbca7
This commit is contained in:
parent
cb77f7e3d2
commit
788418634d
@ -53,7 +53,11 @@ fi
|
||||
RUN_TASKS+=("openstack-hosts-setup.yml -e redeploy_rerun=true")
|
||||
|
||||
# Run the security-hardening playbook in redeployment
|
||||
RUN_TASKS+=("security-hardening.yml")
|
||||
if [[ -n "${SKIP_HARDENING_TAGS}" ]]; then
|
||||
RUN_TASKS+=("security-hardening.yml --skip-tags=${SKIP_HARDENING_TAGS}")
|
||||
else
|
||||
RUN_TASKS+=("security-hardening.yml")
|
||||
fi
|
||||
|
||||
# Ensure the same pip everywhere, even if requirement met or above
|
||||
RUN_TASKS+=("${UPGRADE_UTILS}/pip-unify.yml -e release_version=\"${NEWTON_RELEASE}\"")
|
||||
|
Loading…
Reference in New Issue
Block a user