From c0ad8b030e6f90a8b706ba754934e51595f67c3b Mon Sep 17 00:00:00 2001 From: Tobias Rueetschi Date: Wed, 31 Aug 2016 12:42:54 +0200 Subject: [PATCH] udm_user: change overridePWHistory and overridePWLength to snake_case --- lib/ansible/modules/extras/univention/udm_user.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/extras/univention/udm_user.py b/lib/ansible/modules/extras/univention/udm_user.py index c3406b27299..2eed02a2c04 100644 --- a/lib/ansible/modules/extras/univention/udm_user.py +++ b/lib/ansible/modules/extras/univention/udm_user.py @@ -184,16 +184,18 @@ options: default: None description: - Organisation - overridePWHistory: + override_pw_history: required: false default: False description: - Override password history - overridePWLength: + aliases: [ overridePWHistory ] + override_pw_length: required: false default: False description: - Override password check + aliases: [ overridePWLength ] pager_telephonenumber: required: false default: [] @@ -401,9 +403,11 @@ def main(): organisation = dict(default=None, type='str'), overridePWHistory = dict(default=False, - type='bool'), + type='bool', + aliases=['override_pw_history']), overridePWLength = dict(default=False, - type='bool'), + type='bool', + aliases=['override_pw_length']), pager_telephonenumber = dict(default=[], type='list', aliases=['pagerTelephonenumber']),