mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 04:31:13 +01:00
Solved bugs
This commit is contained in:
parent
1b8ff143e3
commit
ea784c096d
@ -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/"
|
||||
|
@ -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:
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user