--list-hosts option is what you want.
On Aug 6, 2015 8:34 AM, "Sergey Maslyakov" <[email protected]> wrote:

> Given an Ansible playbook, is there a simple way to list out all host
> groups that a given roles belongs to?
>
> My roles install applications using RPMs. If there is a fix in an
> application, I need to know what servers I should update.
>
>
> Thank you,
> /Sergey
>
> --
> 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 post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/adc6310c-5d3e-4bf9-9938-7ae50b04b75b%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/adc6310c-5d3e-4bf9-9938-7ae50b04b75b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAM1FbhEWkNsmjOnuoaT-OJJJLtMQ5gtkPrvWGE_QER54P3weaw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to