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

[patch] fix "remote_src" behavior according patch module documentation.

Patch documentation says "remote_src" us False by default. That was not
the case in the action plugin.
This commit is contained in:
Sébastien Gross 2015-03-20 16:45:54 +01:00
parent d4ebe77502
commit 8a5f162e29

View file

@ -32,7 +32,7 @@ class ActionModule(object):
src = options.get('src', None) src = options.get('src', None)
dest = options.get('dest', None) dest = options.get('dest', None)
remote_src = utils.boolean(options.get('remote_src', 'yes')) remote_src = utils.boolean(options.get('remote_src', 'no'))
if src is None: if src is None:
result = dict(failed=True, msg="src is required") result = dict(failed=True, msg="src is required")