> The documentation page for this module only says name is mandatory parameter, rest is optional.
There is only 1 option that is always required 'name', but if you read the description you can see that there are multiple others that are required when 'state=present'. > I want to retrieve it’s OU location The module doesn't look like it will do what you want, it's designed to enforce a state which requires input. If you want to get the status/info of an existing resource you will have to develop your own win_domain_computer_info module or just use 'win_shell: Get-ADComputer' as you've already pointed out only requires the identity. -- 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/f59e5a0a-825b-4416-b0f7-9804a7b5e9f0%40googlegroups.com.
