ansible/roles/restic/vars/main.yml

48 lines
1.1 KiB
YAML

---
restic_service_dirs:
- restic
- restic/env
- restic/data
- restic-log
- restic-log/env
restic_service_scripts:
- restic/run
- restic/finish
- restic/data/job
- restic-log/run
- restic-log/finish
restic_service_config:
- name: restic/type
content: longrun
- name: restic/dependencies
content: postfix
- name: restic/env/HOME
content: /root
- name: restic/env/NAME
content: restic
- name: restic/env/PATH
content: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
- name: restic/producer-for
content: restic-log
- name: restic-log/type
content: longrun
- name: restic-log/notification-fd
content: '3'
- name: restic-log/consumer-for
content: restic
- name: restic-log/env/NAME
content: restic
- name: restic-log/env/PATH
content: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
- name: restic-log/env/MODE
content: '750'
- name: restic-log/env/USER
content: s6-log
- name: restic-log/env/GROUP
content: s6-log
- name: restic-log/env/DIR
content: /var/log/restic