mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Force synchronize to use ssh_args so it works when using bastion
In case ssh.config is set to use bastion, synchronize needs to use it too.
This commit is contained in:
@@ -167,6 +167,7 @@
|
||||
synchronize:
|
||||
src: "{{ fname }}"
|
||||
dest: "{{ fname }}"
|
||||
use_ssh_args: yes
|
||||
mode: pull
|
||||
delegate_to: localhost
|
||||
become: false
|
||||
@@ -183,6 +184,7 @@
|
||||
synchronize:
|
||||
src: "{{ fname }}"
|
||||
dest: "{{ fname }}"
|
||||
use_ssh_args: yes
|
||||
mode: push
|
||||
delegate_to: localhost
|
||||
become: false
|
||||
|
||||
Reference in New Issue
Block a user