update
This commit is contained in:
+7
-3
@@ -17,11 +17,15 @@
|
||||
|
||||
- name: Deploy borgmatic config
|
||||
template:
|
||||
src: templates/borgmatic-system.yaml
|
||||
dest: /etc/borgmatic.d/system.yaml
|
||||
src: "{{ item.source }}"
|
||||
dest: "{{ item.target }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
loop:
|
||||
- { source: "templates/borgmatic-system.yaml", target: "/etc/borgmatic.d/system.yaml" }
|
||||
- { source: "templates/borgmatic-data.yaml", target: "/etc/borgmatic.d/data.yaml" }
|
||||
|
||||
|
||||
- name: Deploy borgmatic excludes
|
||||
template:
|
||||
@@ -55,7 +59,7 @@
|
||||
- name: Pickup authorized_key
|
||||
fetch:
|
||||
src: /etc/borgmatic/authorized_keys
|
||||
dest: authorized_keys/{{ ansible_fqdn }}
|
||||
dest: authorized_keys/{{ ansible_hostname }}
|
||||
flat: yes
|
||||
|
||||
- name: Setup Backup Cron Job
|
||||
|
||||
Reference in New Issue
Block a user