ansibletest/playbooks/docker.yaml
2023-04-20 17:06:11 +05:30

15 lines
382 B
YAML

---
- hosts: all
vars:
docker_services:
- libreddit
- teddit
tasks:
#
# community.docker does not support compose 2.0 right now.
# https://github.com/ansible-collections/community.docker/issues/216
#
- name: Update docker compose files and restart those with changes
include_tasks: docker-tasks.yaml
with_items: "{{ docker_services }}"