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:
parent
d4ebe77502
commit
8a5f162e29
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue