Ansible/docker/restart-qtorrnt.yaml

21 lines
489 B
YAML

---
- name: Deploy Docker Compose stack with pull and restart
hosts: ki5bhv.com
become: true
tasks:
- name: Qbits
community.docker.docker_compose_v2:
project_src: /home/justin/docker/qbits/
recreate: always
- name: Prune non-dangling images
community.docker.docker_prune:
containers: false
images: true
images_filters:
dangling: false
networks: false
volumes: false
builder_cache: false