Switches one last docker compose configuration task to the shell plugin

Related to #47.
This commit is contained in:
Maximilian Kratz 2024-04-03 17:50:56 +02:00
parent 9c0da30383
commit cc32e09586
1 changed files with 9 additions and 5 deletions

View File

@ -18,9 +18,13 @@
- docker-compose.yml
- proxy.conf
# - name: Deploy docker compose stack
# community.docker.docker_compose:
# project_src: /srv/docker-compose/web/
# files:
# - docker-compose.yml
# remove_orphans: true
- name: Deploy docker compose stack
community.docker.docker_compose:
project_src: /srv/docker-compose/web/
files:
- docker-compose.yml
remove_orphans: true
ansible.builtin.shell:
cmd: docker compose up -d --remove-orphans
chdir: /srv/docker-compose/web/