nextcloud.yml aktualisiert

This commit is contained in:
olli 2023-08-25 13:15:42 +02:00
parent 1a06729fdb
commit 398b9ab61f

View File

@ -286,8 +286,7 @@
then
if docker compose -f /home/docker/traefik/docker-compose.yml logs | egrep -q "nextcloud.{{inventory_hostname}}.+error.+acme-challenge"
then
docker compose -f /home/docker/traefik/docker-compose.yml down
docker compose -f /home/docker/traefik/docker-compose.yml up -d
docker compose -f /home/docker/traefik/docker-compose.yml up -d --force-recreate
fi
fi
sleep 10
@ -381,7 +380,7 @@
ansible.builtin.shell: bash /home/docker/nextcloud.{{inventory_hostname}}/nextcloud.init.sh
- name: Restart nextcloud
ansible.builtin.shell: docker-compose up -d
ansible.builtin.shell: docker-compose up -d --force-recreate
args:
chdir: /home/docker/nextcloud.{{inventory_hostname}}