initial commit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
75891c3271
129 changed files with 8046 additions and 0 deletions
24
roles/restic/tasks/config.yml
Normal file
24
roles/restic/tasks/config.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
- name: Create restic config directory
|
||||
file:
|
||||
path: /etc/restic
|
||||
state: directory
|
||||
mode: "0700"
|
||||
|
||||
- name: Write restic environment file
|
||||
template:
|
||||
src: restic.env.j2
|
||||
dest: /etc/restic/restic.env
|
||||
mode: "0600"
|
||||
|
||||
- name: Write restic backup script
|
||||
template:
|
||||
src: restic-backup.sh.j2
|
||||
dest: /usr/local/bin/restic-backup
|
||||
mode: "0750"
|
||||
|
||||
- name: Write restic prune script
|
||||
template:
|
||||
src: restic-prune.sh.j2
|
||||
dest: /usr/local/bin/restic-prune
|
||||
mode: "0750"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue