community.general.opendj_backendprop module – Will update the backend configuration of OpenDJ via the dsconfig set-backend-prop command
Note
This module is part of the community.general collection (version 8.6.8).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.opendj_backendprop
.
Synopsis
This module will update settings for OpenDJ with the command set-backend-prop.
It will check first via de get-backend-prop if configuration needs to be applied.
Aliases: identity.opendj.opendj_backendprop
Parameters
Parameter |
Comments |
---|---|
The name of the backend on which the property needs to be updated. |
|
The hostname of the OpenDJ server. |
|
The configuration setting to update. |
|
The path to the bin directory of OpenDJ. Default: |
|
The password for the cn=Directory Manager user. Either password or passwordfile is needed. |
|
Location to the password file which holds the password for the cn=Directory Manager user. Either password or passwordfile is needed. |
|
The Admin port on which the OpenDJ instance is available. |
|
If configuration needs to be added/updated Default: |
|
The username to connect to. Default: |
|
The value for the configuration item. |
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: full |
Can run in |
|
Support: none |
Will return details on what has changed (or possibly needs changing in |
Examples
- name: Add or update OpenDJ backend properties
action: opendj_backendprop
hostname=localhost
port=4444
username="cn=Directory Manager"
password=password
backend=userRoot
name=index-entry-limit
value=5000