Newer
Older
dockersand / ansible / playbooks / docksand / docksand_destroy.yml
- hosts: localhost
  tasks:

    - name: Stop running docker sandbox containers
      command: docker stop docksand1 docksand2 docksand3 docksand4 docksand5 docksand6 docksand7 docksand8 docksand9 docksand10
      ignore_errors: True

    - name: Remove sandbox containers
      command: docker rm docksand1 docksand2 docksand3 docksand4 docksand5 docksand6 docksand7 docksand8 docksand9 docksand10
      ignore_errors: True