From 8a4afbf9f258f7d573b394c8c13303119580311a Mon Sep 17 00:00:00 2001 From: ziaurrehman72 Date: Tue, 1 Dec 2020 09:57:08 +0100 Subject: [PATCH] Autodecryption does not work with remote_src=yes (#56565) This is in reference to the issue: https://github.com/ansible/ansible/issues/41130 (Cannot decrypt with copy module when remote_src: yes) Autodecryption of the vaulted files does not work when we want to copy files with remote_src=yes. Co-authored-by: ziaurrehman72 --- lib/ansible/modules/copy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/copy.py b/lib/ansible/modules/copy.py index d3c547590d5..61ab5196673 100644 --- a/lib/ansible/modules/copy.py +++ b/lib/ansible/modules/copy.py @@ -89,6 +89,7 @@ options: - If C(yes) it will search for C(src) on the managed (remote) node. - C(remote_src) supports recursive copying as of version 2.8. - C(remote_src) only works with C(mode=preserve) as of version 2.6. + - Autodecryption of files does not work when C(remote_src=yes). type: bool default: no version_added: '2.0'