diff --git a/lib/ansible/modules/files/file.py b/lib/ansible/modules/files/file.py index 8fac305045..1a76bfea33 100644 --- a/lib/ansible/modules/files/file.py +++ b/lib/ansible/modules/files/file.py @@ -155,7 +155,7 @@ def main(): recurse = dict(default='no', type='bool'), force = dict(required=False,default=False,type='bool'), diff_peek = dict(default=None), - validate = dict(required=False, default=None), + validate = dict(required=False, default=None, type='bool'), src = dict(required=False, default=None), ), add_file_common_args=True,