1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Potential fix for #12816

This commit is contained in:
Toshio Kuratomi 2015-10-22 17:15:58 -07:00
parent 3eea4e23d5
commit ca32d5bacc

View file

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