Hey Matt,
Thanks, yeah I tried this but as you guessed, the output is received as string, but I want that string to be echoed into my terminal's tty.
I've now switched to building the image using docker-py and Ansible's docker module,
- name: Build base image
docker_image: path="{{docker_yard_dir}}/base" name="{{docker_image_namespace}}/trusty-base"state=present
register: docker_build
Any advice on how I can get the stdout info here, would it still be a case of accessing `docker_build.stdout`?
Also, what about running this as an async job (which I did); is there away to get an async job to trigger (say via `notify`) a completion message? I don't mind if it's via email or using one of the push services Ansible can hook into.
Thanks for your help!
Best, M.