diff options
Diffstat (limited to 'run-single.sh')
-rwxr-xr-x | run-single.sh | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/run-single.sh b/run-single.sh deleted file mode 100755 index 4b9ad06..0000000 --- a/run-single.sh +++ /dev/null @@ -1,50 +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 -ick ansible_ssh_host=$(getaddr ick) - -[ickhost] -ick - -[controller] -ick - -[qvisqve] -ick - -[apt] -ick - -[notify] -ick - -[workers] -ick -EOF -} - - -hosts_in="$1" -shift 1 -mkhosts > hosts.tmp -ansible-playbook \ - -i hosts.tmp \ - ick2.yml \ - -e qvisqve_domain="$(getaddr ick)" \ - -e controller_domain="$(getaddr ick)" \ - -e artifact_store_domain="$(getaddr ick)" \ - -e apt_domain="$(getaddr ick)" \ - -e notify_domain="$(getaddr ick)" \ - "$@" |