summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-04-04 13:52:12 +0300
committerLars Wirzenius <liw@liw.fi>2018-04-04 13:52:12 +0300
commit3e0c5f3e3eafb2b87aa8e22a0f64e1daa9c9df2b (patch)
tree9963f3f3c53be13c995e7e0d61c98969723239f7
parentf92d25352365d23378f1971c1f004c9de4b0ba88 (diff)
downloadick2-ansible-3e0c5f3e3eafb2b87aa8e22a0f64e1daa9c9df2b.tar.gz
Change: new hosts on Hetzner, fix buglets
-rw-r--r--hosts3
-rw-r--r--hosts.in8
-rw-r--r--ick-cluster.yml4
-rwxr-xr-xrun-cluster.sh4
4 files changed, 9 insertions, 10 deletions
diff --git a/hosts b/hosts
index 6fb1da2..e210422 100644
--- a/hosts
+++ b/hosts
@@ -1,2 +1 @@
-[ick]
-ick2 ansible_ssh_host=195.201.99.89
+web ansible_ssh_host=94.130.185.121
diff --git a/hosts.in b/hosts.in
index 2925382..775a5da 100644
--- a/hosts.in
+++ b/hosts.in
@@ -1,4 +1,4 @@
-controller 195.201.38.220
-blobs 195.201.41.106
-worker1 195.201.36.250
-worker2 195.201.38.251
+controller 94.130.185.121
+artifacts 94.130.180.87
+worker1 195.201.99.89
+worker2 195.201.112.70
diff --git a/ick-cluster.yml b/ick-cluster.yml
index ae02542..a874a90 100644
--- a/ick-cluster.yml
+++ b/ick-cluster.yml
@@ -15,14 +15,14 @@
ssh_key: "{{ wm_ssh_key }}"
ssh_key_pub: "{{ wm_ssh_key_pub }}"
-- hosts: blob_service
+- hosts: artifacts
remote_user: root
become: yes
roles:
- sane_debian_system
- comfortable
- haproxy
- - ick-blob-service
+ - ick-artifact-store
vars:
hostname: blobs
diff --git a/run-cluster.sh b/run-cluster.sh
index b67df53..c204d5c 100755
--- a/run-cluster.sh
+++ b/run-cluster.sh
@@ -17,7 +17,7 @@ mkhosts()
cat <<EOF
[ick]
controller hostname=controller ansible_ssh_host=$(getip controller)
-blob_service hostname=blob_service ansible_ssh_host=$(getip blobs)
+artifacts hostname=blob_service ansible_ssh_host=$(getip artifacts)
worker1 hostname=worker1 ansible_ssh_host=$(getip worker1)
worker2 hostname=worker2 ansible_ssh_host=$(getip worker2)
@@ -30,5 +30,5 @@ EOF
mkhosts > hosts.tmp
ansible-playbook -i hosts.tmp ick-cluster.yml \
-e "controller_domain=$(getip controller)" \
- -e "blob_service_domain=$(getip blobs)" \
+ -e "artifact_store_domain=$(getip artifacts)" \
"$@"