local_action: shell docker inspect --format={{ '{{.Id}}' }} {{
docker_image_name }} | cut
register: docker_image_id
On Fri, Aug 8, 2014 at 1:04 PM, Vijay Korapaty
mailto:ansiblel...@korapaty.com>> wrote:
> I'm trying to execute
I'm trying to execute the following task:
- name: obtain image id
local_action: shell docker inspect --format={{.Id}} {{ docker_image_name
}} | cut
register: docker_image_id
where '{{.Id}}' should not be considered as a variable. I've tried
escaping it in this fashion: {{ '{