summaryrefslogtreecommitdiff
path: root/run-ickweb.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-03-16 14:26:02 +0200
committerLars Wirzenius <liw@liw.fi>2019-03-16 14:26:02 +0200
commitbd369ec68d84522172dbfa2691b5d0f8d933c99a (patch)
tree116f8fa063292c3a8b49772a7ec7d29519ae39de /run-ickweb.yml
parent95edefdb97c63e5e6bb48567775a4dc0eb2c685b (diff)
downloadick2-ansible-bd369ec68d84522172dbfa2691b5d0f8d933c99a.tar.gz
Drop: run-* scripts in favour of run-ansible
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)" \
- "$@"