2018-11-04 17:07:38 +08:00
|
|
|
---
|
|
|
|
- name: Multus | Start resources
|
|
|
|
kube:
|
2019-05-03 05:24:21 +08:00
|
|
|
name: "{{ item.item.name }}"
|
2018-11-04 17:07:38 +08:00
|
|
|
namespace: "kube-system"
|
2019-05-03 05:24:21 +08:00
|
|
|
kubectl: "{{ bin_dir }}/kubectl"
|
|
|
|
resource: "{{ item.item.type }}"
|
|
|
|
filename: "{{ kube_config_dir }}/{{ item.item.file }}"
|
2018-11-04 17:07:38 +08:00
|
|
|
state: "latest"
|
2019-05-03 05:24:21 +08:00
|
|
|
with_items: "{{ multus_manifest_1.results }} + {{ multus_manifest_2.results }}"
|
2019-04-24 01:37:23 +08:00
|
|
|
when: inventory_hostname == groups['kube-master'][0] and not item|skipped
|