mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-30 04:49:09 -07:00
Define module for managing LDAP for E-Series (#42356)
This module will allow users to manage LDAP authentication domains for accessing E-Series systems.
This commit is contained in:
parent
2fab2d5775
commit
feb212b0a1
3 changed files with 812 additions and 0 deletions
|
@ -203,7 +203,12 @@ def request(url, data=None, headers=None, method='GET', use_proxy=True,
|
|||
headers = {
|
||||
"Content-Type": "application/json",
|
||||
"Accept": "application/json",
|
||||
|
||||
}
|
||||
headers.update({"netapp-client-type": "Ansible-%s" % ansible_version})
|
||||
|
||||
if not http_agent:
|
||||
http_agent = "Ansible / %s" % (ansible_version)
|
||||
|
||||
try:
|
||||
r = open_url(url=url, data=data, headers=headers, method=method, use_proxy=use_proxy,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue