From 4853270d9f32ba6ab20d8e5bc5554c3847a55f36 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 15 Mar 2021 14:19:16 +0200 Subject: more scopes --- liw.yml | 2 ++ roles/qvisqve/tasks/main.yml | 8 ++++++++ run-cluster.sh | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/liw.yml b/liw.yml index 097cb5e..b96c187 100644 --- a/liw.yml +++ b/liw.yml @@ -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 \ "$@" -- cgit v1.2.1