nextcloud.yml aktualisiert
This commit is contained in:
parent
1a06729fdb
commit
398b9ab61f
@ -286,8 +286,7 @@
|
|||||||
then
|
then
|
||||||
if docker compose -f /home/docker/traefik/docker-compose.yml logs | egrep -q "nextcloud.{{inventory_hostname}}.+error.+acme-challenge"
|
if docker compose -f /home/docker/traefik/docker-compose.yml logs | egrep -q "nextcloud.{{inventory_hostname}}.+error.+acme-challenge"
|
||||||
then
|
then
|
||||||
docker compose -f /home/docker/traefik/docker-compose.yml down
|
docker compose -f /home/docker/traefik/docker-compose.yml up -d --force-recreate
|
||||||
docker compose -f /home/docker/traefik/docker-compose.yml up -d
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
sleep 10
|
sleep 10
|
||||||
@ -381,7 +380,7 @@
|
|||||||
ansible.builtin.shell: bash /home/docker/nextcloud.{{inventory_hostname}}/nextcloud.init.sh
|
ansible.builtin.shell: bash /home/docker/nextcloud.{{inventory_hostname}}/nextcloud.init.sh
|
||||||
|
|
||||||
- name: Restart nextcloud
|
- name: Restart nextcloud
|
||||||
ansible.builtin.shell: docker-compose up -d
|
ansible.builtin.shell: docker-compose up -d --force-recreate
|
||||||
args:
|
args:
|
||||||
chdir: /home/docker/nextcloud.{{inventory_hostname}}
|
chdir: /home/docker/nextcloud.{{inventory_hostname}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user