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.
pull/1752/head
pmontanari 2017-10-06 00:21:54 +02:00 committed by GitHub
parent d13b07ba59
commit 764b1aa5f8
1 changed files with 2 additions and 0 deletions

View File

@ -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