[reset] fix task inclusion logic for network plugin
This commit is contained in:
parent
1113460b68
commit
8f118fb619
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue