projects
/
noc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b04196a
)
make sure facts from previous installs are removed before reinstalling a machine
author
Christian Pointner
<equinox@realraum.at>
Tue, 16 Jul 2019 20:42:24 +0000
(22:42 +0200)
committer
Christian Pointner
<equinox@realraum.at>
Tue, 16 Jul 2019 20:42:24 +0000
(22:42 +0200)
ansible/vm-install.sh
patch
|
blob
|
history
diff --git
a/ansible/vm-install.sh
b/ansible/vm-install.sh
index
4e93d2c
..
4ac4b02
100755
(executable)
--- a/
ansible/vm-install.sh
+++ b/
ansible/vm-install.sh
@@
-15,5
+15,7
@@
shift
echo "installing $name with $distro/$codename"
echo ""
+rm -f ".cache/facts/$name"
+
echo "######## running the install playbook ########"
exec ansible-playbook -e "hostname=$name" -e "install_distro=$distro" -e "install_codename=$codename" $@ $(basename "$0" .sh).yml