It is expected.

On Saturday, May 30, 2015, Barry Kaplan <[email protected]> wrote:

> I see that lookup('template') is looking in the files directory not the
> template directory.
>
> fatal: [10.0.139.56] => Failed to template msg="{{lookup('template',
> 'rs_initiate_cmd.js.j2')}}": unable to read /Users/bkaplan/si/ops/ansible/
> playbooks/roles/mongodb/files/rs_initiate_cmd.js.j2
>
>
> Is this expected or a bug? I can't find any docs on lookup('template')
> only the example in the Lookups section. (Have not looked at the code yet.)
>
> --
> 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]
> <javascript:_e(%7B%7D,'cvml','ansible-project%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/f884d62f-7013-43ac-a0a0-36ab18ac7212%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/f884d62f-7013-43ac-a0a0-36ab18ac7212%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Matt Martz
@sivel
sivel.net

-- 
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/CAD8N0v_r0rT9fTvw%3DGpcULKAJ0s2U480O1LFGB99cbx0CCwDrg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to