-
Notifications
You must be signed in to change notification settings - Fork 1
/
ldap-ad.sample.ini
30 lines (26 loc) · 1.03 KB
/
ldap-ad.sample.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#Connection Credentials to AD using LDAP
[ldap-ad]
username = CN=svc_Ansible,OU=Service Accounts,OU=User Directory,DC=swglg01,DC=local
password = # Enter password here
basedn = OU=Computers,OU,DC=EXAMPLE,DC=COM
ldapuri = dc01.example.com
# Unencrypted connection port
port = 389
# Encrypted connection port 636
# port = 636
# Server account attributes to be returned by query from AD
# Example:
# adattributes = ['cn','dNSHostName','location','environment','apptype']
attributes = cn,dNSHostName,Location,Environment
# Specify Group to output hosts from inventory to file
filegroup = test
# classify into groups
# How to modify classification:
# classification is done by grouping hosts with same attribute value together
# To classify based on an attribute add it to below groups list
# Note: The attribute added below should be included into the attributes list in [ldap-ad] too
# Associate hostvars for servers
# Specify attributes to be associated as hostvars for each server
[filters]
groups = Environment
hostvars = dNSHostName,Location