finish borg setup
This commit is contained in:
parent
898e9b1c16
commit
9598341a81
4 changed files with 13 additions and 16 deletions
|
@ -8,8 +8,8 @@
|
|||
path: "{{ service_dir }}"
|
||||
state: directory
|
||||
- name: Copy borg backup configuration
|
||||
copy:
|
||||
src: "{{ role_path }}/files/backup.yml"
|
||||
template:
|
||||
src: "{{ role_path }}/templates/backup.yml.j2"
|
||||
dest: "{{ service_dir }}/backup.yml"
|
||||
- name: Copy public key
|
||||
copy:
|
||||
|
@ -22,8 +22,8 @@
|
|||
dest: "{{ service_dir }}/id_ed25519"
|
||||
mode: 0600
|
||||
- name: Copy systemd timer backup service
|
||||
copy:
|
||||
src: "{{ role_path }}/files/backup.service"
|
||||
template:
|
||||
src: "{{ role_path }}/templates/backup.service.j2"
|
||||
dest: "/etc/systemd/system/backup.service"
|
||||
register: service
|
||||
- name: Copy systemd timer backup timer
|
||||
|
|
Reference in a new issue