$ 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:
>
>> [image: Andy Magana's profile photo]
>> 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. 
>>
>>
>>
>>
>>
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/603ee061-bf15-4ace-b8ae-289b18b16075n%40googlegroups.com.

Reply via email to