Merge pull request #1752 from pmontanari/patch-1
Force synchronize to use ssh_args so it works when using bastion
This commit is contained in:
@ -167,6 +167,7 @@
|
|||||||
synchronize:
|
synchronize:
|
||||||
src: "{{ fname }}"
|
src: "{{ fname }}"
|
||||||
dest: "{{ fname }}"
|
dest: "{{ fname }}"
|
||||||
|
use_ssh_args: yes
|
||||||
mode: pull
|
mode: pull
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
become: false
|
become: false
|
||||||
@ -183,6 +184,7 @@
|
|||||||
synchronize:
|
synchronize:
|
||||||
src: "{{ fname }}"
|
src: "{{ fname }}"
|
||||||
dest: "{{ fname }}"
|
dest: "{{ fname }}"
|
||||||
|
use_ssh_args: yes
|
||||||
mode: push
|
mode: push
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
become: false
|
become: false
|
||||||
|
Reference in New Issue
Block a user