diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-04-04 13:52:12 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-04-04 13:52:12 +0300 |
commit | 3e0c5f3e3eafb2b87aa8e22a0f64e1daa9c9df2b (patch) | |
tree | 9963f3f3c53be13c995e7e0d61c98969723239f7 | |
parent | f92d25352365d23378f1971c1f004c9de4b0ba88 (diff) | |
download | ick2-ansible-3e0c5f3e3eafb2b87aa8e22a0f64e1daa9c9df2b.tar.gz |
Change: new hosts on Hetzner, fix buglets
-rw-r--r-- | hosts | 3 | ||||
-rw-r--r-- | hosts.in | 8 | ||||
-rw-r--r-- | ick-cluster.yml | 4 | ||||
-rwxr-xr-x | run-cluster.sh | 4 |
4 files changed, 9 insertions, 10 deletions
@@ -1,2 +1 @@ -[ick] -ick2 ansible_ssh_host=195.201.99.89 +web ansible_ssh_host=94.130.185.121 @@ -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)" \ "$@" |