fix dkim, tsig and vapid keys generation

This commit is contained in:
ace 2024-05-05 23:04:47 +03:00
parent 6cfac8f302
commit c8831139e0
Signed by: ace
GPG Key ID: 2C08973DD37A76FD
3 changed files with 7 additions and 4 deletions

View File

@ -19,7 +19,7 @@
- name: Set ddclient_key
set_fact:
dkim_keys: "{{ dkim_container_output.ansible_facts.docker_container.Output | from_yaml }}"
dkim_keys: "{{ dkim_container_output.container.Output | from_yaml }}"
when: dkim_private_key_test_grep.stdout == '0' or dkim_public_key_test_grep.stdout == '0'
- name: Show DKIM private key

View File

@ -25,9 +25,12 @@
register: knot_container_output
when: k8s_tsig_test_grep.stdout == '0'
- debug:
msg: "{{ knot_container_output }}"
- name: Set k8s_key
set_fact:
k8s_key: "{{ knot_container_output.ansible_facts.docker_container.Output | from_yaml }}"
k8s_key: "{{ knot_container_output.container.Output | from_yaml }}"
when: k8s_tsig_test_grep.stdout == '0'
- name: Show k8s TSIG key
@ -54,7 +57,7 @@
- name: Set ddclient_key
set_fact:
ddclient_key: "{{ ddclient_container_output.ansible_facts.docker_container.Output | from_yaml }}"
ddclient_key: "{{ ddclient_container_output.container.Output | from_yaml }}"
when: ddclient_tsig_public_key_test_grep.stdout == '0' or ddclient_tsig_private_key_test_grep.stdout == '0'
- name: Show ddclient TSIG public key file

View File

@ -19,7 +19,7 @@
- name: Set VAPID keys fact
set_fact:
vapid_keys: "{{ vapid_container_output.ansible_facts.docker_container.Output | from_yaml }}"
vapid_keys: "{{ vapid_container_output.container.Output | from_yaml }}"
when: vapid_private_key_test_grep.stdout == '0' or vapid_public_key_test_grep.stdout == '0'
- name: Show VAPID private key