mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
IPAAnsibleModule: add support for ldap_cache configuration.
This patch adds support for configuring IPA API connection use of LDAP cache. It adds a new variable 'ipaapi_ldap_cache' to the base module, and provides the variable documentation in its doc fragment.
This commit is contained in:
@@ -37,4 +37,8 @@ options:
|
||||
determined by the execution environment.
|
||||
choices: ["server", "client"]
|
||||
required: false
|
||||
ipaapi_ldap_cache:
|
||||
description: Use LDAP cache for IPA connection.
|
||||
type: bool
|
||||
default: true
|
||||
"""
|
||||
|
||||
@@ -629,6 +629,7 @@ else:
|
||||
ipaapi_context=dict(
|
||||
type="str", required=False, choices=["server", "client"],
|
||||
),
|
||||
ipaapi_ldap_cache=dict(type="bool", default="True"),
|
||||
)
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user