the getent module is probably what you need. https://docs.ansible.com/ansible/2.9/modules/getent_module.html#getent-module
-- ---------- Brian Coca -- 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/CACVha7fXx4EkuHNuKL78qF_B5nCHDgCHNRHxYzbnfSA1Y3qR-Q%40mail.gmail.com.
