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:
Rafael Guterres Jeffman
2021-09-23 15:42:44 -03:00
parent e4d2a7b353
commit 1049a6c8c6
2 changed files with 5 additions and 0 deletions

View File

@@ -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
"""

View File

@@ -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):