From bef1e5621ba3258a0a0baa136ba7cd7e427764a7 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 17 Sep 2018 21:50:46 +0200 Subject: [PATCH] Add a alias from organisation to organization (#45688) Since 'organization' is the spelling used accross all others modules, I think it would be better to at least have this one as a alias. Organisation is the UK/Australia/NZ spelling, while organization is the US one. --- lib/ansible/modules/cloud/univention/udm_user.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/univention/udm_user.py b/lib/ansible/modules/cloud/univention/udm_user.py index 0cb77c289bf..bc22a7495d2 100644 --- a/lib/ansible/modules/cloud/univention/udm_user.py +++ b/lib/ansible/modules/cloud/univention/udm_user.py @@ -125,6 +125,7 @@ options: organisation: description: - Organisation + aliases: [ organization ] override_pw_history: type: bool default: 'no' @@ -330,7 +331,8 @@ def main(): type='list', aliases=['mobileTelephoneNumber']), organisation=dict(default=None, - type='str'), + type='str', + aliases=['organization']), overridePWHistory=dict(default=False, type='bool', aliases=['override_pw_history']),