diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-15 14:19:16 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-15 14:19:16 +0200 |
commit | 4853270d9f32ba6ab20d8e5bc5554c3847a55f36 (patch) | |
tree | 4dbab4ad1489af1ec9573435887ca5f5f17801dd | |
parent | 141fb4eee39f15f818ca331ecee2fca58183e5a1 (diff) | |
download | ick2-ansible-4853270d9f32ba6ab20d8e5bc5554c3847a55f36.tar.gz |
more scopes
-rw-r--r-- | liw.yml | 2 | ||||
-rw-r--r-- | roles/qvisqve/tasks/main.yml | 8 | ||||
-rwxr-xr-x | run-cluster.sh | 2 |
3 files changed, 11 insertions, 1 deletions
@@ -53,6 +53,8 @@ qvisqve_token_public_key: "{{ lookup('pipe', 'pass show ick2/token_key.pub') }}" qvisqve_token_private_key: "{{ lookup('pipe', 'pass show ick2/token_key') }}" qvisqve_admin_hash: "{{ lookup('pipe', 'pass show ick2/liw_hash') }}" qvisqve_admin_salt: "{{ lookup('pipe', 'pass show ick2/liw_salt') }}" +qvisqve_liw_hash: "{{ lookup('pipe', 'pass show ick2/liw_hash') }}" +qvisqve_liw_salt: "{{ lookup('pipe', 'pass show ick2/liw_salt') }}" qvisqve_controller_secret: "{{ lookup('pipe', 'pass show ick2/controller_secret') }}" qvisqve_controller_hash: "{{ lookup('pipe', 'pass show ick2/controller_hash') }}" qvisqve_controller_salt: "{{ lookup('pipe', 'pass show ick2/controller_salt') }}" diff --git a/roles/qvisqve/tasks/main.yml b/roles/qvisqve/tasks/main.yml index 0d14917..9ef636a 100644 --- a/roles/qvisqve/tasks/main.yml +++ b/roles/qvisqve/tasks/main.yml @@ -62,6 +62,14 @@ owner: _qvisqve group: _qvisqve +- name: "install Ick liw client" + template: + src: liw.j2 + dest: /var/lib/qvisqve/client/liw + mode: 0600 + owner: _qvisqve + group: _qvisqve + - name: "enable and restart Qvisqve services" service: name: "{{ item }}" diff --git a/run-cluster.sh b/run-cluster.sh index cb695ec..2ae3cc2 100755 --- a/run-cluster.sh +++ b/run-cluster.sh @@ -3,6 +3,6 @@ set -eu ansible-playbook -i hosts ick-cluster.yml \ - -e controller_domain=controller \ + -e controller_domain=ick \ -e @liw.yml \ "$@" |