c12s-kubespray/roles/network_plugin/cilium/tasks
Frank Ritchie a6622b176b
Update cilium_ipsec_enabled check (#7413)
When attempting a fresh install without cilium_ipsec_enabled I ran
into the following error:

failed: [k8m01] (item={'name': 'cilium', 'file': 'cilium-secret.yml', 'type': 'secret', 'when': 'cilium_ipsec_enabled'}) =>
{"ansible_loop_var": "item", "changed": false, "item": {"file": "cilium-secret.yml", "name": "cilium", "type": "secret",
"when": "cilium_ipsec_enabled"},"msg": "AnsibleUndefinedVariable: 'cilium_ipsec_key' is undefined"}

Moving the when condition from the item level to the task level solved
the issue.
2021-04-06 06:17:33 -07:00
..
check.yml Add support for cilium ipsec (#7342) 2021-03-23 13:46:06 -07:00
install.yml Update cilium_ipsec_enabled check (#7413) 2021-04-06 06:17:33 -07:00
main.yml Replace kube-master with kube_control_plane (#7256) 2021-03-23 17:26:05 -07:00
reset.yml Reset tasks specific to a network_plugin moved inside its role directory + Reset tasks specific to cilium 2018-08-16 17:34:33 +02:00
reset_iface.yml Only use stat get_checksum: yes when needed (#7270) 2021-02-10 05:36:59 -08:00