projects
/
noc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gpg: Remove my old key from the keyring
[noc.git]
/
ansible
/
remove_known_hosts.sh
diff --git
a/ansible/remove_known_hosts.sh
b/ansible/remove_known_hosts.sh
index
ee4a0fb
..
81d8de2
100755
(executable)
--- a/
ansible/remove_known_hosts.sh
+++ b/
ansible/remove_known_hosts.sh
@@
-2,12
+2,12
@@
set -eu
if [ $# -eq 0 ]; then
set -eu
if [ $# -eq 0 ]; then
- echo "Usage: $0 vmname [vmname ...]" >&2
+ echo "Usage: $0 hostname [hostname ...]" >&2
exit 1
fi
cd "$(dirname "$0")"
exit 1
fi
cd "$(dirname "$0")"
-for vmname in "$@"; do
- ansible-playbook -e vmname="${vmname}" remove_known_hosts.yml
+for hostname in "$@"; do
+ ansible-playbook -e hostname="${hostname}" remove_known_hosts.yml
done
done