From 764b1aa5f8653a7b14ad117b2f5c6610b52fbb06 Mon Sep 17 00:00:00 2001 From: pmontanari Date: Fri, 6 Oct 2017 00:21:54 +0200 Subject: [PATCH] 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. --- roles/download/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/download/tasks/main.yml b/roles/download/tasks/main.yml index 629c92219..888515e83 100644 --- a/roles/download/tasks/main.yml +++ b/roles/download/tasks/main.yml @@ -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