forked from data.coop/ansible
Lint
This commit is contained in:
parent
814a268965
commit
439a538c14
|
@ -1,8 +1,9 @@
|
||||||
---
|
---
|
||||||
- name: setup restic backup
|
- name: Setup restic backup
|
||||||
|
when: not vagrant
|
||||||
docker_compose:
|
docker_compose:
|
||||||
project_name: restic_backup
|
project_name: restic_backup
|
||||||
pull: yes
|
pull: true
|
||||||
definition:
|
definition:
|
||||||
version: '3.6'
|
version: '3.6'
|
||||||
services:
|
services:
|
||||||
|
@ -27,7 +28,7 @@
|
||||||
TZ: Europe/Copenhagen
|
TZ: Europe/Copenhagen
|
||||||
volumes:
|
volumes:
|
||||||
- /docker-volumes:/mnt/volumes:ro
|
- /docker-volumes:/mnt/volumes:ro
|
||||||
|
|
||||||
restic-prune:
|
restic-prune:
|
||||||
image: "mazzolino/restic:1.6.0"
|
image: "mazzolino/restic:1.6.0"
|
||||||
environment:
|
environment:
|
||||||
|
@ -36,4 +37,3 @@
|
||||||
RESTIC_REPOSITORY: "rest:https://{{ restic.user }}:{{ restic_secrets.user_password }}@{{ restic.domain }}/{{ restic.repository }}"
|
RESTIC_REPOSITORY: "rest:https://{{ restic.user }}:{{ restic_secrets.user_password }}@{{ restic.domain }}/{{ restic.repository }}"
|
||||||
RESTIC_PASSWORD: "{{ restic_secrets.repository_password }}"
|
RESTIC_PASSWORD: "{{ restic_secrets.repository_password }}"
|
||||||
TZ: Europe/copenhagen
|
TZ: Europe/copenhagen
|
||||||
when: not vagrant
|
|
||||||
|
|
Loading…
Reference in a new issue