blob: aa5e693cbe349057628a8106bd13022d0363f843 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
if [ -z "$1" ]; then
echo "$0 <host(s)>"
exit 1
fi
host="$1"
shift
echo "######## upgrading host(s) '$host' ########"
exec ansible-playbook -e "myname=$host" -e "myrole=upgrade" $@ generic.yaml
|