summaryrefslogtreecommitdiff
path: root/group_vars
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-08-07 18:47:37 +0300
committerLars Wirzenius <liw@liw.fi>2018-08-07 18:47:37 +0300
commit61c12b7938bd8fd8c17155b646b08fd1caf3cd6c (patch)
treec233df31c843f2e178fbd8114d6e1af434d6ba76 /group_vars
parentc0f9a32ae8f092b7ba552798ea1ae2f2fdd9666a (diff)
downloadick2-ansible-61c12b7938bd8fd8c17155b646b08fd1caf3cd6c.tar.gz
Change: use haproxy role from debian-ansible, add ickweb, etc
Diffstat (limited to 'group_vars')
-rw-r--r--group_vars/ickhost.yml51
1 files changed, 50 insertions, 1 deletions
diff --git a/group_vars/ickhost.yml b/group_vars/ickhost.yml
index c33d718..a92b3a2 100644
--- a/group_vars/ickhost.yml
+++ b/group_vars/ickhost.yml
@@ -8,17 +8,19 @@ debian_mirror_src: deb.debian.org
ci_prefix: ""
sources_lists:
+ - repo: "deb http://deb.debian.org/debian stretch-backports main"
- repo: "deb http://code.liw.fi/debian stretch main ickhost"
keyring_package: code.liw.fi-keyring
signing_key: "{{ code_liw_fi_signing_key }}"
- repo: "deb http://ick-controller.h.qvarnlabs.eu/debian stretch-ci main"
- signing_key: "{{ ql_ick_apt_fi_signing_key }}"
+ signing_key: "{{ ql_ick_apt_signing_key }}"
controller_port: 12765
artifact_store_port: 12766
qvisqve_port: 10000
notify_port: 12767
ickweb_port: 10001
+apache_port: 8080
controller_url: "https://{{ controller_domain }}"
artifact_store_url: "https://{{ artifact_store_domain }}"
@@ -34,3 +36,50 @@ apt_admin_email: FIXME
wm_ssh_key: FIXME
wm_ssh_key_pub: FIXME
+
+
+haproxy_domain: "{{ controller_domain }}"
+haproxy_rules:
+ - name: ickweb
+ path: /web
+ backends: ["127.0.0.1:{{ ickweb_port }}"]
+
+ - name: blobs
+ path: /blobs
+ backends: ["127.0.0.1:{{ artifact_store_port }}"]
+
+ - name: token
+ path: /token
+ backends: ["127.0.0.1:{{ qvisqve_port }}"]
+
+ - name: login
+ path: /login
+ backends: ["127.0.0.1:{{ qvisqve_port }}"]
+
+ - name: auth
+ path: /auth
+ backends: ["127.0.0.1:{{ qvisqve_port }}"]
+
+ - name: clients
+ path: /clients
+ backends: ["127.0.0.1:{{ qvisqve_port }}"]
+
+ - name: users
+ path: /users
+ backends: ["127.0.0.1:{{ qvisqve_port }}"]
+
+ - name: applications
+ path: /applications
+ backends: ["127.0.0.1:{{ qvisqve_port }}"]
+
+ - name: notify
+ path: /notify
+ backends: ["127.0.0.1:{{ notify_port }}"]
+
+ - name: debian
+ path: /debian
+ backends: ["127.0.0.1:{{ apache_port }}"]
+
+ - name: controller
+ path: /
+ backends: ["127.0.0.1:{{ controller_port }}"]