fix(wireguard): install before k3s

!5
This commit is contained in:
2023-11-02 13:44:27 +09:30
parent fd547a4c0f
commit 4a9d98394e
3 changed files with 18 additions and 38 deletions

View File

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