mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-30 00:11:03 +01:00
Solved bugs
This commit is contained in:
parent
83536ab31f
commit
876bcbcc0c
@ -8,16 +8,16 @@
|
|||||||
dest: "/etc/nginx/conf.d/{{domain}}.conf"
|
dest: "/etc/nginx/conf.d/{{domain}}.conf"
|
||||||
notify: restart nginx
|
notify: restart nginx
|
||||||
|
|
||||||
- name: "create {{path_volumes_docker}}nextcloud/"
|
- name: "create {{path_docker_volumes}}nextcloud/"
|
||||||
file:
|
file:
|
||||||
path: "{{path_volumes_docker}}nextcloud"
|
path: "{{path_docker_volumes}}nextcloud"
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: configure nginx.conf
|
- name: configure nginx.conf
|
||||||
template:
|
template:
|
||||||
src: "templates/nginx.conf.j2"
|
src: "templates/nginx.conf.j2"
|
||||||
dest: "{{path_volumes_docker}}nextcloud/nginx.conf"
|
dest: "{{path_docker_volumes}}nextcloud/nginx.conf"
|
||||||
notify: recreate nextcloud
|
notify: recreate nextcloud
|
||||||
|
|
||||||
- name: "create {{path_docker_compose_files}}nextcloud/"
|
- name: "create {{path_docker_compose_files}}nextcloud/"
|
||||||
|
@ -44,7 +44,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- application
|
- application
|
||||||
volumes:
|
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:
|
volumes_from:
|
||||||
- application
|
- application
|
||||||
redis:
|
redis:
|
||||||
|
@ -55,9 +55,7 @@ for backup_type in $remote_backup_types; do
|
|||||||
eval "$rsync_command" &&
|
eval "$rsync_command" &&
|
||||||
|
|
||||||
echo "removing: $status_pulling_file" &&
|
echo "removing: $status_pulling_file" &&
|
||||||
rm -vf $status_pulling_file
|
rm -vf $status_pulling_file || ((errors+=1));
|
||||||
|
|
||||||
|| ((errors+=1));
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
exit $errors;
|
exit $errors;
|
||||||
|
Loading…
Reference in New Issue
Block a user