[email protected] wrote:
> Does anyone have code that can pull a dynamic inventory from list of AD
> OUs?  Want to use the windows_update module to patch our servers only in
> specific OUs.
> 
> Maybe I missed it, but I don't see Windows Active Directory inventory
> here:  https://github.com/ansible/ansible/tree/devel/contrib/inventory

I've never used it myself but you could try to tweak this one to match
your specific needs:

https://github.com/vincentvdk/ansible_inventory/tree/master/ldap

Ciao, Michael.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/85d5a457-4bbd-b80e-4f1b-1423c46feb70%40stroeder.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to