fix tsig key name

This commit is contained in:
ace 2024-05-06 03:00:27 +03:00
parent 5d57ca8dce
commit d9dd334988
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
2 changed files with 2 additions and 4 deletions

View File

@ -15,6 +15,7 @@ default_accounts:
- { name: harbor_admin } - { name: harbor_admin }
- { name: systemuser } - { name: systemuser }
- { name: minio_admin } - { name: minio_admin }
- { name: keycloak_admin }
secret_keys: secret_keys:
- { name: peertube } - { name: peertube }

View File

@ -21,13 +21,10 @@
cleanup: true cleanup: true
detach: false detach: false
container_default_behavior: no_defaults container_default_behavior: no_defaults
command: "keymgr -t k8s hmac-sha512" command: "keymgr -t {{ namespace }} hmac-sha512"
register: knot_container_output register: knot_container_output
when: k8s_tsig_test_grep.stdout == '0' when: k8s_tsig_test_grep.stdout == '0'
- debug:
msg: "{{ knot_container_output }}"
- name: Set k8s_key - name: Set k8s_key
set_fact: set_fact:
k8s_key: "{{ knot_container_output.container.Output | from_yaml }}" k8s_key: "{{ knot_container_output.container.Output | from_yaml }}"