From ca32d5bacc37cdab86c2b9507f85ccb29ec9be16 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 22 Oct 2015 17:15:58 -0700 Subject: [PATCH] Potential fix for #12816 --- lib/ansible/plugins/action/synchronize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/action/synchronize.py b/lib/ansible/plugins/action/synchronize.py index b0cdcb1b11..28c9ba7af3 100644 --- a/lib/ansible/plugins/action/synchronize.py +++ b/lib/ansible/plugins/action/synchronize.py @@ -182,7 +182,7 @@ class ActionModule(ActionBase): # MUNGE SRC AND DEST PER REMOTE_HOST INFO src = self._task.args.get('src', None) dest = self._task.args.get('dest', None) - if between_multiple_hosts or use_delegate: + if between_multiple_hosts: # Private key handling if use_delegate: private_key = task_vars.get('ansible_ssh_private_key_file') or self._play_context.private_key_file