diff --git a/lib/ansible/modules/extras/system/getent.py b/lib/ansible/modules/extras/system/getent.py index 7da1be45fae..bb6d162398c 100644 --- a/lib/ansible/modules/extras/system/getent.py +++ b/lib/ansible/modules/extras/system/getent.py @@ -86,7 +86,7 @@ def main(): database = dict(required=True), key = dict(required=False, default=None), split = dict(required=False, default=None), - fail_key = dict(required=False, default=True), + fail_key = dict(required=False, type='bool', default=True), ), supports_check_mode = True, )