Skip to content
Snippets Groups Projects
Commit 8f118fb6 authored by Calin Cristian Andrei's avatar Calin Cristian Andrei Committed by Kubernetes Prow Robot
Browse files

[reset] fix task inclusion logic for network plugin

parent 1113460b
Branches
Tags
No related merge requests found
......@@ -364,7 +364,9 @@
- dns
- 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:
- kube_network_plugin in ['flannel', 'cilium', 'kube-router', 'calico']
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment