summaryrefslogtreecommitdiff
path: root/run-cluster.sh
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-04-06 19:01:13 +0300
committerLars Wirzenius <liw@liw.fi>2018-04-06 19:01:13 +0300
commitb0946a381965c85026a0d8017d86948d771ef4d7 (patch)
tree19862b4290889c0bc6ad8c5cb42ffff3a61c5346 /run-cluster.sh
parent58cff62a6f5f945ab1c9d0b0a332d00ab3457de4 (diff)
downloadick2-ansible-b0946a381965c85026a0d8017d86948d771ef4d7.tar.gz
Add: get name for qvisqve host
Diffstat (limited to 'run-cluster.sh')
-rwxr-xr-xrun-cluster.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/run-cluster.sh b/run-cluster.sh
index c204d5c..e326478 100755
--- a/run-cluster.sh
+++ b/run-cluster.sh
@@ -16,6 +16,7 @@ mkhosts()
{
cat <<EOF
[ick]
+qvisqve hostname=controller ansible_ssh_host=$(getip qvisqve)
controller hostname=controller ansible_ssh_host=$(getip controller)
artifacts hostname=blob_service ansible_ssh_host=$(getip artifacts)
worker1 hostname=worker1 ansible_ssh_host=$(getip worker1)
@@ -29,6 +30,7 @@ EOF
mkhosts > hosts.tmp
ansible-playbook -i hosts.tmp ick-cluster.yml \
+ -e "qvisqve_domain=$(getip qvisqve)" \
-e "controller_domain=$(getip controller)" \
-e "artifact_store_domain=$(getip artifacts)" \
"$@"