Re-run setup-hosts before re-deploy.

If a user is using a REDEPLOY_EXTRA_SCRIPT to migrate additional
variables before re-deploying, it's maybe best to re-run all the
playbooks that happen in a deploy. All the playbooks are already
there, excepted the openstack-hosts-setup, so we add it here.

Change-Id: I64bade46cb1ece6f21ed42c7622bd6e39f2420fe
This commit is contained in:
Jean-Philippe Evrard 2017-08-01 08:38:37 +00:00
parent db5e151534
commit 8dcdc893e4

View File

@ -40,6 +40,7 @@ fi
link_release "/opt/leap42/openstack-ansible-${NEWTON_RELEASE}" link_release "/opt/leap42/openstack-ansible-${NEWTON_RELEASE}"
RUN_TASKS=() RUN_TASKS=()
RUN_TASKS+=("openstack-hosts-setup.yml -e redeploy_rerun=true")
# Ensure the same pip everywhere, even if requirement met or above # Ensure the same pip everywhere, even if requirement met or above
RUN_TASKS+=("${UPGRADE_UTILS}/pip-unify.yml -e release_version=\"${NEWTON_RELEASE}\"") RUN_TASKS+=("${UPGRADE_UTILS}/pip-unify.yml -e release_version=\"${NEWTON_RELEASE}\"")