I would like not to ssh to my server with docker ps -a and after docker logs container_name each time when error occures in any container. And see them immidiately in ansible output. Is it possible?
I'm not sure what exactly you need. A module which allows you to run docker logs <containername> for one / all containers for a service and/or project?
I would like not to ssh to my server with
docker ps -a
and afterdocker logs container_name
each time when error occures in any container. And see them immidiately in ansible output. Is it possible?