From bae14404255f4b5713634361ba0371313dc3e227 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Tue, 8 Aug 2023 13:45:35 +0200 Subject: [PATCH] [PR #7051/c6393cb2 backport][stable-7] ipa_config: add idp choice to ipauserauthtype (#7072) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit c6393cb2ace7827bf81328aae682f818a8297378) Co-authored-by: Christer Warén --- .../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 ec94b58d41..4b2b438558 100644 --- a/plugins/modules/ipa_config.py +++ b/plugins/modules/ipa_config.py @@ -85,9 +85,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' @@ -337,7 +339,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']), )