mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-23 08:37:54 -02:30
Use connection: local when delegate_to: localhost (#6322)
This will avoid SSH connection on the local host
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
stat:
|
||||
path: "{{ image_path_cached }}"
|
||||
delegate_to: localhost
|
||||
connection: local
|
||||
delegate_facts: no
|
||||
register: cache_image
|
||||
changed_when: false
|
||||
|
||||
Reference in New Issue
Block a user