nextcloud.yml aktualisiert
This commit is contained in:
parent
1a06729fdb
commit
398b9ab61f
@ -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}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user