Compare commits

...

2 Commits

Author SHA1 Message Date
ace
14c3ebe2cc
add metallb_enabled: true to group values 2024-05-05 23:04:53 +03:00
ace
c8831139e0
fix dkim, tsig and vapid keys generation 2024-05-05 23:04:47 +03:00
4 changed files with 8 additions and 4 deletions

View File

@ -11,6 +11,7 @@ web_proxy_internal_ip: INTERNAL_VPS_IP
# Core infrastructure #
## MetalLB ##
metallb_enabled: true
metallb_advertisement_type: "BGP"
metallb_address_pool:
- 192.168.250.0/24

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