c12s-kubespray/roles/kubernetes-apps/network_plugin/canal/tasks/main.yml
2019-04-22 23:34:10 -07:00

8 lines
378 B
YAML

---
- name: Canal | Start Resources
kube:
namespace: "kube-system"
kubectl: "{{bin_dir}}/kubectl"
filename: "{{ canal_manifests.results | selectattr('skipped', 'undefined') | map(attribute='item') | map(attribute='file') | map('regex_replace', '^(.*)$', kube_config_dir+'/\\1') | list }}"
state: "latest"
when: inventory_hostname == groups['kube-master'][0]