c12s-kubespray/roles/network_plugin/cilium
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
..
defaults Add cilium_ipam_mode variable (#7418) 2021-04-01 07:33:22 -07:00
meta Use role to copy CNI bin (#5953) 2020-04-16 10:06:45 -07:00
tasks Update cilium_ipsec_enabled check (#7413) 2021-04-06 06:17:33 -07:00
templates Add cilium_ipam_mode variable (#7418) 2021-04-01 07:33:22 -07:00