From 04711d3b00593d6c6267c2aecd9af1f631fdd661 Mon Sep 17 00:00:00 2001 From: zhengtianbao Date: Mon, 8 Nov 2021 02:00:52 -0600 Subject: [PATCH] Replace path_join to support Ansible 2.9 (#8160) --- roles/reset/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/reset/tasks/main.yml b/roles/reset/tasks/main.yml index 737e6b151..94e1fbe70 100644 --- a/roles/reset/tasks/main.yml +++ b/roles/reset/tasks/main.yml @@ -373,7 +373,7 @@ - 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') | path_join | realpath }}" + include_tasks: "{{ (role_path,'../network_plugin',kube_network_plugin,'tasks/reset.yml') | community.general.path_join | realpath }}" when: - kube_network_plugin in ['flannel', 'cilium', 'kube-router', 'calico'] tags: