title: Restart multiple Docker containers using Ansible
body: <p>how do i dynamically restart all my docker containers from Ansible? I mean i know a way where i can define my containers in a variable and loop through them but what i want to achieve is this -</p>
  
  <p>Fetch the currently running containers and restart all or some of them one by one through some loop.</p>
  
  <p>How to achieve this using Ansible?</p>