Solved bugs

This commit is contained in:
Kevin Veen-Birkenbach 2023-04-26 12:45:49 +02:00
parent 83536ab31f
commit 876bcbcc0c
3 changed files with 5 additions and 7 deletions

View File

@ -8,16 +8,16 @@
dest: "/etc/nginx/conf.d/{{domain}}.conf"
notify: restart nginx
- name: "create {{path_volumes_docker}}nextcloud/"
- name: "create {{path_docker_volumes}}nextcloud/"
file:
path: "{{path_volumes_docker}}nextcloud"
path: "{{path_docker_volumes}}nextcloud"
state: directory
mode: 0755
- name: configure nginx.conf
template:
src: "templates/nginx.conf.j2"
dest: "{{path_volumes_docker}}nextcloud/nginx.conf"
dest: "{{path_docker_volumes}}nextcloud/nginx.conf"
notify: recreate nextcloud
- name: "create {{path_docker_compose_files}}nextcloud/"

View File

@ -44,7 +44,7 @@ services:
depends_on:
- application
volumes:
- "{{path_volumes_docker}}nextcloud/nginx.conf:/etc/nginx/nginx.conf:ro"
- "{{path_docker_volumes}}nextcloud/nginx.conf:/etc/nginx/nginx.conf:ro"
volumes_from:
- application
redis:

View File

@ -55,9 +55,7 @@ for backup_type in $remote_backup_types; do
eval "$rsync_command" &&
echo "removing: $status_pulling_file" &&
rm -vf $status_pulling_file
|| ((errors+=1));
rm -vf $status_pulling_file || ((errors+=1));
fi
done
exit $errors;