c12s-kubespray/roles/kubernetes-apps/network_plugin/calico/tasks/main.yml
ArthurMa 17a91c2baf change Start Calico resources
In daemonset, we don't need loop over each node to run this.
2017-09-04 18:25:14 +08:00

10 lines
355 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[0] }}"