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']), )