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