Re: ansible collection microsoft.ad.ldap inventory

48 views
Skip to first unread message
Message has been deleted
Message has been deleted
Message has been deleted

Todd Lewis

unread,
Feb 5, 2024, 8:58:28 AM2/5/24
to Ansible Project
$ ansible-inventory --export --list

On Monday, February 5, 2024 at 8:55:28 AM UTC-5 Andy Magana wrote:
So I now I have a working microsoft.ad.ldap.yaml dynamic inventory script. But my question is how do I export my findings to a person that needs a list of linux machines based on certain attributes ?

Thanks.


On Friday, February 2, 2024 at 12:45:13 PM UTC-6 Andy Magana wrote:
Andy Magana
11:30 AM (1 hour ago) 
to Ansible Development
Trying to get this to work but I have a comprehension problem sometimes. I am using RHEL 9 with Python 3.9 and I think I may have satisfied the requirements according to the docs:
dnspython            2.5.0
pyspnego             0.10.2
sansldap              0.1.0
krb5                      0.5.1


Not sure  how to deploy the microsoft.ad.ldap.yaml file.
Where does it go in my /home directory
What should be put in the yaml file besides the example of the username, password, domain etc.
what should my ansible.cfg be configured.
where do I put the python script ldap python script that is with the collection.

Trying to this to work any help would be great, I just can't understand where the yaml file ( microsoft.ad.ldap.yaml file ) needs to be at and the python script that comes with the collection as well where does it go ?

What is supposed to be inside my inventory file ?

I have tried to run ansible-inventory -i microsoft.ad.ldap.yaml and I just errors that this is not a yaml file.







Reply all
Reply to author
Forward
0 new messages