Note
This plugin is part of the netapp.elementsw collection.
To install it use: ansible-galaxy collection install netapp.elementsw.
To use it in a playbook, specify: netapp.elementsw.na_elementsw_ldap.
New in version 2.7.0: of netapp.elementsw
The below requirements are needed on the host that executes this module.
| Parameter | Choices/Defaults | Comments |
|---|---|---|
| authType string |
| Identifies which user authentication method to use. |
| groupSearchBaseDn string | The base DN of the tree to start the group search (will do a subtree search from here) | |
| groupSearchCustomFilter string | For use with the CustomFilter Search type | |
| groupSearchType string |
| Controls the default group search filter used |
| hostname string / required | The hostname or IP address of the SolidFire cluster. For na_elementsw_cluster, the Management IP (MIP) or hostname of the node to initiate the cluster creation from. | |
| password string / required | Password for the specified user. aliases: pass | |
| searchBindDN string | A dully qualified DN to log in with to perform an LDAp search for the user (needs read access to the LDAP directory). | |
| searchBindPassword string | The password for the searchBindDN account used for searching | |
| serverURIs string | A comma-separated list of LDAP server URIs | |
| state string |
| Whether the specified volume should exist or not. |
| userDNTemplate string | A string that is used form a fully qualified user DN. | |
| username string / required | Please ensure that the user has the adequate permissions. For more information, please read the official documentation https://mysupport.netapp.com/documentation/docweb/index.html?productID=62636&language=en-US. aliases: user | |
| userSearchBaseDN string | The base DN of the tree to start the search (will do a subtree search from here) | |
| userSearchFilter string | the LDAP Filter to use |
Note
- name: disable ldap authentication
na_elementsw_ldap:
state: absent
username: "{{ admin username }}"
password: "{{ admin password }}"
hostname: "{{ hostname }}"
- name: Enable ldap authentication
na_elementsw_ldap:
state: present
username: "{{ admin username }}"
password: "{{ admin password }}"
hostname: "{{ hostname }}"
authType: DirectBind
serverURIs: ldap://svmdurlabesx01spd_ldapclnt
groupSearchType: MemberDN
userDNTemplate: uid=%USERNAME%,cn=users,cn=accounts,dc=corp,dc="{{ company name }}",dc=com
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/netapp/elementsw/na_elementsw_ldap_module.html