fix(k3s): use correct variables in conditional clauses

!2
This commit is contained in:
2023-10-29 17:10:10 +09:30
parent 8272b2507b
commit 9ac52ee165
2 changed files with 7 additions and 9 deletions

View File

@ -16,15 +16,17 @@
when: >
install_kubernetes | default(true) | bool
and
not kubernetes_installed | default(false) | bool
kubernetes_installed | default(false) | bool
- name: Wireguard Cluster Encryption
ansible.builtin.include_tasks:
file: k3s/configure.yaml
file: k3s/wireguard.yaml
when: >
install_kubernetes | default(true) | bool
and
not kubernetes_installed | default(false) | bool
kubernetes_installed | default(false) | bool
and
not kubernetes_installed_encryption | default(false) | bool
and
kubernetes_config.cluster.networking.encrypt | default(false) | bool