summaryrefslogtreecommitdiff
path: root/ick-cluster.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-04-06 19:02:25 +0300
committerLars Wirzenius <liw@liw.fi>2018-04-06 19:02:25 +0300
commit6d1a5f4908ebe693c5b8fc38b23869258c616674 (patch)
tree64927f2899768035cf5595df67c4185eff800f4e /ick-cluster.yml
parent3de5c211b5a19b879edc32357b2e9a83361a31d7 (diff)
downloadick2-ansible-6d1a5f4908ebe693c5b8fc38b23869258c616674.tar.gz
Add: install Qvisqve host in ick-cluster.yml
Diffstat (limited to 'ick-cluster.yml')
-rw-r--r--ick-cluster.yml49
1 files changed, 49 insertions, 0 deletions
diff --git a/ick-cluster.yml b/ick-cluster.yml
index 3121ee8..b23c43c 100644
--- a/ick-cluster.yml
+++ b/ick-cluster.yml
@@ -38,3 +38,52 @@
- ick-controller
vars:
hostname: controller
+
+- hosts: qvisqve
+ remote_user: root
+ become: yes
+ roles:
+ - sane_debian_system
+ - letsencrypt
+ - haproxy
+ - qvisqve
+ vars:
+ letsencrypt_domain: "{{ qvisqve_domain }}"
+ qvisqve_token_public_key: "{{ lookup('pipe', 'pass show ick2/token_key.pub') }}"
+ qvisqve_token_private_key: "{{ lookup('pipe', 'pass show ick2/token_key') }}"
+ qvisqve_client_hash: "{{ lookup('pipe', 'pass show ick2/liw_hash') }}"
+ qvisqve_client_salt: "{{ lookup('pipe', 'pass show ick2/liw_salt') }}"
+ qvisqve_clients:
+ liw:
+ allowed_scopes:
+ - uapi_version_get
+ client_secret:
+ hash: "{{ lookup('pipe', 'pass show ick2/liw_hash') }}"
+ salt: "{{ lookup('pipe', 'pass show ick2/liw_salt') }}"
+ N: 16384
+ key_len: 128
+ p: 1
+ r: 8
+ version: 1
+ worker1:
+ allowed_scopes:
+ - uapi_version_get
+ client_secret:
+ hash: "{{ lookup('pipe', 'pass show ick2/worker1_hash') }}"
+ salt: "{{ lookup('pipe', 'pass show ick2/worker1_salt') }}"
+ N: 16384
+ key_len: 128
+ p: 1
+ r: 8
+ version: 1
+ worker2:
+ allowed_scopes:
+ - uapi_version_get
+ client_secret:
+ hash: "{{ lookup('pipe', 'pass show ick2/worker2_hash') }}"
+ salt: "{{ lookup('pipe', 'pass show ick2/worker2_salt') }}"
+ N: 16384
+ key_len: 128
+ p: 1
+ r: 8
+ version: 1