c12s-kubespray/roles/kubernetes-apps/network_plugin/kube-ovn/tasks/main.yml

10 lines
329 B
YAML
Raw Normal View History

2019-07-31 03:10:20 +00:00
---
- name: Kube-OVN | Start Resources
kube:
name: "{{ item.item.name }}"
kubectl: "{{ bin_dir }}/kubectl"
filename: "{{ kube_config_dir }}/{{ item.item.file }}"
state: "latest"
with_items: "{{ kube_ovn_node_manifests.results }}"
when: inventory_hostname == groups['kube-master'][0] and not item is skipped