From 8dcdc893e471017d518dbe85bb6803009ad4ea5a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Tue, 1 Aug 2017 08:38:37 +0000 Subject: [PATCH] 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 --- leap-upgrades/re-deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/leap-upgrades/re-deploy.sh b/leap-upgrades/re-deploy.sh index bdc5c1fc..5954821d 100755 --- a/leap-upgrades/re-deploy.sh +++ b/leap-upgrades/re-deploy.sh @@ -40,6 +40,7 @@ fi link_release "/opt/leap42/openstack-ansible-${NEWTON_RELEASE}" RUN_TASKS=() +RUN_TASKS+=("openstack-hosts-setup.yml -e redeploy_rerun=true") # Ensure the same pip everywhere, even if requirement met or above RUN_TASKS+=("${UPGRADE_UTILS}/pip-unify.yml -e release_version=\"${NEWTON_RELEASE}\"")