mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
set corrected force default
This commit is contained in:
parent
cc27fc368a
commit
9a25e16140
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class ActionModule(ActionBase):
|
|||
source = self._task.args.get('src', None)
|
||||
dest = self._task.args.get('dest', None)
|
||||
faf = self._task.first_available_file
|
||||
force = boolean(self._task.args.get('force', False))
|
||||
force = boolean(self._task.args.get('force', True))
|
||||
|
||||
if (source is None and faf is not None) or dest is None:
|
||||
result['failed'] = True
|
||||
|
|
Loading…
Reference in a new issue