solar/resources/haproxy_service/actions/remove.yml

7 lines
112 B
YAML

- hosts: [{{ ip }}]
sudo: yes
tasks:
- shell: docker stop {{ name }}
- shell: docker rm {{ name }}