Set validate_checksum default yes of fetch to match the doc
This commit is contained in:
parent
86a63cfcd7
commit
98e7d4b49d
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class ActionModule(ActionBase):
|
||||||
dest = self._task.args.get('dest', None)
|
dest = self._task.args.get('dest', None)
|
||||||
flat = boolean(self._task.args.get('flat'))
|
flat = boolean(self._task.args.get('flat'))
|
||||||
fail_on_missing = boolean(self._task.args.get('fail_on_missing'))
|
fail_on_missing = boolean(self._task.args.get('fail_on_missing'))
|
||||||
validate_checksum = boolean(self._task.args.get('validate_checksum', self._task.args.get('validate_md5')))
|
validate_checksum = boolean(self._task.args.get('validate_checksum', self._task.args.get('validate_md5', True)))
|
||||||
|
|
||||||
if 'validate_md5' in self._task.args and 'validate_checksum' in self._task.args:
|
if 'validate_md5' in self._task.args and 'validate_checksum' in self._task.args:
|
||||||
result['failed'] = True
|
result['failed'] = True
|
||||||
|
|
Loading…
Reference in a new issue