My guess is all the module results are contained in a key called 'results'
within the var that you registered.
Try this
- debug:
var: "{{ docker_repo_line }}"
I suspect that the bit you want is in
- debug:
msg: "{{ docker_repo_line.results.stdout }}"
But try inspecting the whole of the var. If there is a lot of output, use
something like Jsonlint.com to pretty print the json so that you can get a
clearer idea of what is being returned.
Hope this helps,
Jon
--
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/c83f4915-a470-400d-b31f-049e2374a743%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.