Easiest way would be to have a role like "foo_site" and include it more
than once:

- hosts: webservers:
  roles:
    - { name: foo_site, a: 1, b: 2 }
    - { name: bar_site, c: 2, d: 3 }

etc



On Fri, Oct 10, 2014 at 12:17 PM, André <[email protected]> wrote:

> Are there any examples for a configuration like this?
>
> I can't find good examples of modular, reusable roles which can be used in
> conjunction with other roles.
>
> --
> 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/62bb2e27-8209-47de-ac18-cfd216db8fbc%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/62bb2e27-8209-47de-ac18-cfd216db8fbc%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/CA%2BnsWgxWgpb3XFfL7kM3HHw8HuLhN8Erkoq4N-OPOSLecCdUSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to