Skip to content

Dynamic inventory for Active Directory via LDAP. Uses OUs to group hosts.

License

Notifications You must be signed in to change notification settings

rcanderson23/ldap-ad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ldap-ad

This is written with the purpose of getting an Ansible inventory from an Active Directory domain controller via LDAP.

Dependencies

  • python3
  • ldap3

Installation

  1. Run pip3 install -r requirements.txt
  2. Copy ldap-ad.py and ldap-ad.sample.ini into your /etc/ansible/inventory folder
  3. Rename ldap-ad.sample.ini to ldap-ad.ini and fill in variables

Configuration

All configuration options are in ldap-ad.ini and is required for this script to run properly.

About

Dynamic inventory for Active Directory via LDAP. Uses OUs to group hosts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages