Skip to content

Commit

Permalink
[reset] fix task inclusion logic for network plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cristicalin authored and k8s-ci-robot committed May 4, 2022
1 parent 1113460 commit 8f118fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/reset/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8f118fb

Please sign in to comment.