mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-11-29 12:55:51 +01:00
parent
e954ba13c4
commit
c169cb8937
@ -11,7 +11,7 @@
|
|||||||
retries: 30
|
retries: 30
|
||||||
delay: 20
|
delay: 20
|
||||||
when: k3s_control_node
|
when: k3s_control_node
|
||||||
and (("disable" not in k3s_runtime_config)
|
and ("flannel-backend" not in k3s_runtime_config
|
||||||
or ("disable" in k3s_runtime_config and "flannel" not in k3s_runtime_config.disable))
|
or k3s_runtime_config["flannel-backend"] != "none")
|
||||||
and not ansible_check_mode
|
and not ansible_check_mode
|
||||||
become: "{{ k3s_become_for_kubectl | ternary(true, false, k3s_become_for_all) }}"
|
become: "{{ k3s_become_for_kubectl | ternary(true, false, k3s_become_for_all) }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user