summaryrefslogtreecommitdiff
path: root/run-muck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run-muck.sh')
-rwxr-xr-xrun-muck.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/run-muck.sh b/run-muck.sh
deleted file mode 100755
index f8ded27..0000000
--- a/run-muck.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-
-getaddr()
-{
- awk -v "name=$1" '$1 == name { print $2 }' "$hosts_in" |
- sed 's/ansible_ssh_host=//'
-}
-
-
-mkhosts()
-{
- cat <<EOF
-muck ansible_ssh_host=$(getaddr muck)
-EOF
-}
-
-hosts_in="$1"
-shift 1
-mkhosts > hosts.tmp
-ansible-playbook -i hosts.tmp muck.yml \
- -e "muck_domain=$(getaddr muck)" \
- "$@"