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].
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/f884d62f-7013-43ac-a0a0-36ab18ac7212%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.