Skip to content

Commit

Permalink
[PR #7589/512b2c73 backport][stable-8] ipa_user: add idp and passkey …
Browse files Browse the repository at this point in the history
…choices to ipauserauthtype (#7637)

ipa_user: add idp and passkey choices to ipauserauthtype (#7589)

* ipa_user: add idp and passkey to ipauserauthtype

* Changelog Fragment - 7589

* ipa_user: edit ipauserauthtype description

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 512b2c7)

Co-authored-by: Christer Warén <cwchristerw@gmail.com>
  • Loading branch information
patchback[bot] and cwchristerw authored Nov 29, 2023
1 parent ee7ba1a commit e62a256
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- ipa_user - adds ``idp`` and ``passkey`` choice to ``ipauserauthtype`` parameter's choices (https://github.com/ansible-collections/community.general/pull/7589).
5 changes: 3 additions & 2 deletions plugins/modules/ipa_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@
userauthtype:
description:
- The authentication type to use for the user.
choices: ["password", "radius", "otp", "pkinit", "hardened"]
- The choice V(idp) and V(passkey) has been added in community.general 8.1.0.
choices: ["password", "radius", "otp", "pkinit", "hardened", "idp", "passkey"]
type: list
elements: str
version_added: '1.2.0'
Expand Down Expand Up @@ -378,7 +379,7 @@ def main():
title=dict(type='str'),
homedirectory=dict(type='str'),
userauthtype=dict(type='list', elements='str',
choices=['password', 'radius', 'otp', 'pkinit', 'hardened']))
choices=['password', 'radius', 'otp', 'pkinit', 'hardened', 'idp', 'passkey']))

module = AnsibleModule(argument_spec=argument_spec,
supports_check_mode=True)
Expand Down

0 comments on commit e62a256

Please sign in to comment.