ansible -a "docker ps -aq | xargs docker stop" docker Where docker is a list of hosts in ansible Share this:TwitterFacebookLike this:Like Loading... Related