Getting output from Docker containers from within Ansible
Reading Time: Approximately 1 minutes.
The Problem
You want to use Ansible’s docker_container
module to do stuff, but want to also perform actions based on their output without specifying a logging driver or writing to a temp file.
The Solution
Do this:
… »