plugin: microsoft.ad.ldap
server: pc1.mydomain.com
port: 389
username: LDAPUser
password: Passs
search_base: OU=Domain Controllers,DC=mydomain,DC=com
filter: (objectClass=computer)
compose:
host_var: computer_sid
[WARNING]: * Failed to parse /home/myadm/ans/Test_microsoft.yml with auto plugin: inventory source '/home/myadm/ans/Test_microsoft.yml' could not be
verified by inventory plugin 'microsoft.ad.ldap'
[WARNING]: * Failed to parse /home/myadm/ans/Test_microsoft.yml with yaml plugin: Plugin configuration YAML file, not YAML inventory
[WARNING]: * Failed to parse /home/myadm/ans/Test_microsoft.yml with ini plugin: Invalid host pattern 'plugin:' supplied, ending in ':' is not allowed,
this character is reserved to provide a port.
[WARNING]: Unable to parse /home/myadm/ans/Test_microsoft.yml as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
{
"_meta": {
"hostvars": {}
},
"all": {
"children": [
"ungrouped"
]
}
}