From c6393cb2ace7827bf81328aae682f818a8297378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Mon, 7 Aug 2023 23:01:19 +0300 Subject: [PATCH] ipa_config: add idp choice to ipauserauthtype (#7051) * ipa_config: add idp choice to ipauserauthtype * ipa_config: edit ipauserauthtype description Co-authored-by: Felix Fontein * Changelog Fragment - 7051 --------- Co-authored-by: Felix Fontein --- .../7051-ipa-config-new-choice-idp-to-ipauserauthtype.yml | 2 ++ plugins/modules/ipa_config.py | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 changelogs/fragments/7051-ipa-config-new-choice-idp-to-ipauserauthtype.yml diff --git a/changelogs/fragments/7051-ipa-config-new-choice-idp-to-ipauserauthtype.yml b/changelogs/fragments/7051-ipa-config-new-choice-idp-to-ipauserauthtype.yml new file mode 100644 index 0000000000..8d928828de --- /dev/null +++ b/changelogs/fragments/7051-ipa-config-new-choice-idp-to-ipauserauthtype.yml @@ -0,0 +1,2 @@ +minor_changes: + - ipa_config - adds ``idp`` choice to ``ipauserauthtype`` parameter's choices (https://github.com/ansible-collections/community.general/pull/7051). diff --git a/plugins/modules/ipa_config.py b/plugins/modules/ipa_config.py index b5f24a1359..f63fbc2107 100644 --- a/plugins/modules/ipa_config.py +++ b/plugins/modules/ipa_config.py @@ -91,9 +91,11 @@ options: elements: str version_added: '3.7.0' ipauserauthtype: - description: The authentication type to use by default. + description: + - The authentication type to use by default. + - The choice V(idp) has been added in community.general 7.3.0. aliases: ["userauthtype"] - choices: ["password", "radius", "otp", "pkinit", "hardened", "disabled"] + choices: ["password", "radius", "otp", "pkinit", "hardened", "idp", "disabled"] type: list elements: str version_added: '2.5.0' @@ -358,7 +360,7 @@ def main(): ipauserauthtype=dict(type='list', elements='str', aliases=['userauthtype'], choices=["password", "radius", "otp", "pkinit", - "hardened", "disabled"]), + "hardened", "idp", "disabled"]), ipausersearchfields=dict(type='list', elements='str', aliases=['usersearchfields']), ipauserobjectclasses=dict(type='list', elements='str',