Thanks Johannes,
the problem about it is: There is no way to pass the role path of the 
``webapp1-role`` to the ``nginx`` role ( I'd rather not hardcode it, so 
that I could use nginx as dependence for multiple roles)
The 
{{ role_path }}

always resolves to the nginx role


Am Mittwoch, 25. Mai 2016 17:23:03 UTC+2 schrieb Johannes Kastl:
>
> On 25.05.16 16:43 ProfHase wrote: 
>
> > Unfortunately the nginx role does not search in `templates` folder of 
> the 
> > `webapp1-role` 
>
> Maybe you can give a relative path to the template module. So from 
> your role nginx you need to set a path something like this: 
>
> template: src=../webapp1-role/templates/foobar 
>
> Johannes 
>
>

-- 
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/5defbd6a-caa0-44df-a47d-e29da7807597%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to