2017-08-24 17:09:52 +08:00
|
|
|
---
|
2017-09-04 16:29:40 +08:00
|
|
|
- name: Canal | Start Resources
|
2016-11-08 19:13:20 +08:00
|
|
|
kube:
|
2019-04-24 01:37:23 +08:00
|
|
|
name: "{{item.item.name}}"
|
2018-03-30 19:29:13 +08:00
|
|
|
namespace: "kube-system"
|
2016-11-08 19:13:20 +08:00
|
|
|
kubectl: "{{bin_dir}}/kubectl"
|
2019-04-24 01:37:23 +08:00
|
|
|
resource: "{{item.item.type}}"
|
|
|
|
filename: "{{kube_config_dir}}/{{item.item.file}}"
|
2017-09-05 13:23:12 +08:00
|
|
|
state: "latest"
|
2019-04-24 01:37:23 +08:00
|
|
|
with_items: "{{ canal_manifests.results }}"
|
|
|
|
when: inventory_hostname == groups['kube-master'][0] and not item is skipped
|