Skip to content
Snippets Groups Projects
Commit 1049a6c8 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

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.
parent e4d2a7b3
No related branches found
No related tags found
No related merge requests found
...@@ -37,4 +37,8 @@ options: ...@@ -37,4 +37,8 @@ options:
determined by the execution environment. determined by the execution environment.
choices: ["server", "client"] choices: ["server", "client"]
required: false required: false
ipaapi_ldap_cache:
description: Use LDAP cache for IPA connection.
type: bool
default: true
""" """
...@@ -629,6 +629,7 @@ else: ...@@ -629,6 +629,7 @@ else:
ipaapi_context=dict( ipaapi_context=dict(
type="str", required=False, choices=["server", "client"], type="str", required=False, choices=["server", "client"],
), ),
ipaapi_ldap_cache=dict(type="bool", default="True"),
) )
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment