Sounds like there's a bug that should be filed - Can you please share the
full ansible-playbook output from the above so we can see it in context
though?

That message *may* be coming from Docker.





On Tue, Nov 11, 2014 at 4:58 PM, simonq <[email protected]> wrote:

> I get* template error while templating string: unexpected '.' *when
> running this task using ansible 1.8 (devel fa953e162e). Used to work with
> previous version I was running (1d04e4b3d2). Any thoughts?
>
> - name: Get image id
>   command: >
>     docker inspect -f '{% raw %}{{ .Image }}{% endraw %}' nginx
>   register: container_image
>
> - name: Do something with image
>   command: echo {{ container_image.stdout }}
>
> --
> 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/54a84789-542a-4a09-92b5-d1baa7fdb979%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/54a84789-542a-4a09-92b5-d1baa7fdb979%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%2BnsWgxs1hQMj750OZUp9WarXy_%2BTU1QxQ6wz%3DXircr7n3w-kg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to