summaryrefslogtreecommitdiffstats
path: root/xci/files
diff options
context:
space:
mode:
authornikoskarandreas <nick@intracom-telecom.com>2019-08-07 10:19:05 -0400
committerNikos Karandreas <nick@intracom-telecom.com>2019-08-07 14:33:31 +0000
commit9ad34780f4cde0a6c0a99f15bea62831e6b46911 (patch)
tree95c858748fe8396977a68c11a632f7b5516d87a4 /xci/files
parentb02b1a22a72095c3e98602739b1e7dd83734a495 (diff)
Fix problems when redeploying with osh
When deploying manually after a previous deployment, keys and fingerprints of the VMs clash with the stored ones. This patch clears the relevant files and also fixes an issue with keepalived role which failes ansible lint when already cached. deploy-scenario:k8-calico-nofeature installer-type:osh Signed-off-by: nikoskarandreas <nick@intracom-telecom.com> Change-Id: I9331a5b7d0ac66a35064dfe7f62dd78a461e570c
Diffstat (limited to 'xci/files')
-rwxr-xr-xxci/files/xci-destroy-env.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/xci/files/xci-destroy-env.sh b/xci/files/xci-destroy-env.sh
index 96148468..058d6569 100755
--- a/xci/files/xci-destroy-env.sh
+++ b/xci/files/xci-destroy-env.sh
@@ -21,6 +21,8 @@ rm -rf /opt/stack
# HOME is normally set by sudo -H
rm -rf ${HOME}/.config/openstack
rm -rf ${HOME}/.ansible
+# keepalived role fails ansible lint when cached
+rm -rf ${HOME}/releng-xci/xci/playbooks/roles/keepalived
# Wipe repos
rm -rf ${XCI_CACHE}/repos