Monthly Archives: July 2019

Ansible one liner to stop all docker containers

 ansible -a "docker ps -aq | xargs docker stop" docker

Where docker is a list of hosts in ansible

Advertisements
Advertisements