> > That makes modules completely unusable, code cannot be reused in Ansible?
It's not ideal, but a simple workaround is simply to prefix your role variables with the name of the role. For example, using the names "nginx_port" and "unicorn_port" instead of just "port". It's actually worked fine in practice; the trick is that Ansible's flexibility tempts you to buck the convention. -- 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/829eb14f-3fb7-42c1-afb1-24f8a32aac82%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
