Merge pull request #85 from Diaoul/patch-1

Fix check nodes ready without flannel
This commit is contained in:
Xan Manning 2021-01-23 11:33:51 +00:00 committed by GitHub
commit 3716774cc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
---
flannel-backend: 'host-gw'
flannel-backend: 'none'
disable-scheduler: true
disable-cloud-controller: true
disable-network-policy: true

View File

@ -11,7 +11,7 @@
retries: 30
delay: 20
when: k3s_control_node
and (("disable" not in k3s_runtime_config)
or ("disable" in k3s_runtime_config and "flannel" not in k3s_runtime_config.disable))
and ("flannel-backend" not in k3s_runtime_config
or k3s_runtime_config["flannel-backend"] != "none")
and not ansible_check_mode
become: "{{ k3s_become_for_kubectl | ternary(true, false, k3s_become_for_all) }}"