mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 15:11:23 -07:00
shared argument spec for FreeIPA (#28950)
Adds unified argument spec and documentation updates for FreeIPA modules. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
67c7bd8745
commit
4a73390823
12 changed files with 197 additions and 537 deletions
|
@ -155,3 +155,14 @@ class IPAClient(object):
|
|||
add_method(name=name, item=diff)
|
||||
|
||||
return changed
|
||||
|
||||
|
||||
def ipa_argument_spec():
|
||||
return dict(
|
||||
ipa_prot=dict(type='str', default='https', choices=['http', 'https']),
|
||||
ipa_host=dict(type='str', default='ipa.example.com'),
|
||||
ipa_port=dict(type='int', default=443),
|
||||
ipa_user=dict(type='str', default='admin'),
|
||||
ipa_pass=dict(type='str', required=True, no_log=True),
|
||||
validate_certs=dict(type='bool', default=True),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue