set corrected force default

This commit is contained in:
Brian Coca 2015-11-06 19:06:29 -05:00
parent cc27fc368a
commit 9a25e16140

View file

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