diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-15 13:21:25 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-15 13:21:25 +0200 |
commit | 141fb4eee39f15f818ca331ecee2fca58183e5a1 (patch) | |
tree | f4e3fde4981b6efd6e87301ee44f769f07ba6563 | |
parent | 144844a35f3a33a2e16d0a99daae4521235455ed (diff) | |
download | ick2-ansible-141fb4eee39f15f818ca331ecee2fca58183e5a1.tar.gz |
controller secret
-rw-r--r-- | liw.yml | 1 | ||||
-rw-r--r-- | roles/comfortable/tasks/main.yml | 1 | ||||
-rw-r--r-- | roles/ick-controller/templates/controller.yaml.j2 | 3 |
3 files changed, 5 insertions, 0 deletions
@@ -53,6 +53,7 @@ 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_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') }}" qvisqve_worker1_hash: "{{ lookup('pipe', 'pass show ick2/worker1_hash') }}" diff --git a/roles/comfortable/tasks/main.yml b/roles/comfortable/tasks/main.yml index c00f642..ebf3fa5 100644 --- a/roles/comfortable/tasks/main.yml +++ b/roles/comfortable/tasks/main.yml @@ -6,6 +6,7 @@ - curl - psmisc - locales-all + - jq - name: "remove uncomfortable packages" apt: name: "{{ item }}" diff --git a/roles/ick-controller/templates/controller.yaml.j2 b/roles/ick-controller/templates/controller.yaml.j2 index c54a47d..f8fded6 100644 --- a/roles/ick-controller/templates/controller.yaml.j2 +++ b/roles/ick-controller/templates/controller.yaml.j2 @@ -10,3 +10,6 @@ token-public-key: "{{ qvisqve_token_public_key }}" log: - filename: /var/log/ick/controller.log statedir: /var/lib/ick/state +muck-url: "http://localhost:{{ muck_port }}" +client-id: controller +client-secret: "{{ qvisqve_controller_secret }}" |