fix(ansible): use full find ansible task cmd
This commit is contained in:
1 parent
65c8e27101
commit
9591c3feb6
1 file changed
+1
-1
@@ -21,7 +21,7 @@
|
|||||||
cmd: /usr/local/bin/k3s-agent-uninstall.sh
|
cmd: /usr/local/bin/k3s-agent-uninstall.sh
|
||||||
removes: /usr/local/bin/k3s-agent-uninstall.sh
|
removes: /usr/local/bin/k3s-agent-uninstall.sh
|
||||||
- name: Gather list of CNI files to delete
|
- name: Gather list of CNI files to delete
|
||||||
find:
|
ansible.builtin.find:
|
||||||
paths: /etc/cni/net.d
|
paths: /etc/cni/net.d
|
||||||
patterns: "*"
|
patterns: "*"
|
||||||
register: files_to_delete
|
register: files_to_delete
|
||||||
|
|||||||
Reference in new issue
Block a user