summaryrefslogtreecommitdiff
path: root/run-ickweb.yml
diff options
context:
space:
mode:
Diffstat (limited to 'run-ickweb.yml')
-rwxr-xr-xrun-ickweb.yml31
1 files changed, 0 insertions, 31 deletions
diff --git a/run-ickweb.yml b/run-ickweb.yml
deleted file mode 100755
index 82fdace..0000000
--- a/run-ickweb.yml
+++ /dev/null
@@ -1,31 +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
-demo ansible_ssh_host=$(getaddr demo)
-
-[ickwebhost]
-demo
-EOF
-}
-
-
-hosts_in="$1"
-shift 1
-mkhosts > hosts.tmp
-ansible-playbook \
- ickweb.yml \
- -i hosts.tmp \
- -e ickweb_domain_name="$(getaddr demo)" \
- "$@"