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:
Michael Price 2018-08-28 07:00:19 -05:00 committed by John R Barker
parent 2fab2d5775
commit feb212b0a1
3 changed files with 812 additions and 0 deletions

View file

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