From 9ad34780f4cde0a6c0a99f15bea62831e6b46911 Mon Sep 17 00:00:00 2001 From: nikoskarandreas Date: Wed, 7 Aug 2019 10:19:05 -0400 Subject: 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 Change-Id: I9331a5b7d0ac66a35064dfe7f62dd78a461e570c --- xci/files/xci-destroy-env.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xci/files') 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 -- cgit 1.2.3-korg