[ansible-project] Re: Dynamic Inventory using Active Directory / LDAP

2018-02-14 Thread Balz . aschwanden
We do exactly that: We run ansible in pull mode with AD as inventory. Maybe you can take a look at the dynamic inventory script we use: https://github.com/ANTS-Framework/ants/blob/master/antslib/inventory/inventory_ad (Because it is used for ansible-pull, it will only return the current host,

[ansible-project] Re: ansible-pull configuration

2018-08-08 Thread Balz . aschwanden
Hi Sumit We're using a wrapper around ansible-pull. We use it mainly for clients but we've a step-by-step guide you might find helpful: https://github.com/ANTS-Framework/ants Regards Balz Am Mittwoch, 8. August 2018 08:03:45 UTC+2 schrieb SUMIT SAHAY: > > > Hi All, > > I am trying to setup the

Re: [ansible-project] Re: Dynamic Inventory using Active Directory / LDAP

2019-01-04 Thread Balz Aschwanden
Hey Sam I never tried to import ants directly. Depending on your use case, it might be easier to 1) call it using subprocess or 2) copy the inventory file and adapt it to your needs. Regards, Balz On 4 Jan