[reset] fix task inclusion logic for network plugin
parent
1113460b68
commit
8f118fb619
|
@ -364,7 +364,9 @@
|
||||||
- dns
|
- dns
|
||||||
|
|
||||||
- name: reset | include file with reset tasks specific to the network_plugin if exists
|
- name: reset | include file with reset tasks specific to the network_plugin if exists
|
||||||
include_tasks: "{{ (role_path,'../network_plugin',kube_network_plugin,'tasks/reset.yml') | community.general.path_join | realpath }}"
|
include_role:
|
||||||
|
name: "network_plugin/{{ kube_network_plugin }}"
|
||||||
|
tasks_from: reset
|
||||||
when:
|
when:
|
||||||
- kube_network_plugin in ['flannel', 'cilium', 'kube-router', 'calico']
|
- kube_network_plugin in ['flannel', 'cilium', 'kube-router', 'calico']
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in New Issue