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