77602dbb93
* Drop legacy calico logic * add calico as a daemonset
10 lines
352 B
YAML
10 lines
352 B
YAML
---
|
|
- name: Start Calico resources
|
|
kube:
|
|
name: "{{item.item.name}}"
|
|
namespace: "{{ system_namespace }}"
|
|
kubectl: "{{bin_dir}}/kubectl"
|
|
resource: "{{item.item.type}}"
|
|
filename: "{{kube_config_dir}}/{{item.item.file}}"
|
|
state: "{{item.changed | ternary('latest','present') }}"
|
|
with_items: "{{ calico_node_manifests.results }}"
|