summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index d60cc56e..b4f2c187 100755
--- a/install.sh
+++ b/install.sh
@@ -23,5 +23,9 @@ echo "########## clearing old ssh host keys #########"
./remove-known-host.sh "$name"
echo ""
+echo "########## removing cached facts #########"
+rm -f ".cache/facts/$name"
+echo ""
+
echo "######## running the install playbook ########"
exec ansible-playbook -e "hostname=$name" -e "install_distro=$distro" -e "install_codename=$codename" -e "hostenv=$env_group" $@ "$env_group/$(basename "$0" .sh).yml"