To get info from the passwd/group files, use the getent module:
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/getent_module.html

On Mar 18, 2022 at 11:27:29, Tony Wong <[email protected]> wrote:

> any idea how I would get this info from 20 esx servers?
>
> do I do a ad-hoc command or is there a module or playbook?
>
> --
> 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/d9f1db3c-43f3-489f-9d04-5020f5a2a3e0n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/d9f1db3c-43f3-489f-9d04-5020f5a2a3e0n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 

{

  "name": "Douglas J Hunley",

  "title": "Solutions Engineer",

  "employer": "Crunchy Data"

}

-- 
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/CAMiM3L0sNaMSNE48GUH1N05Jq-eJUMBCfQp1DikEGTFctgCT3A%40mail.gmail.com.

Reply via email to