summaryrefslogtreecommitdiff
path: root/playbook.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'playbook.yaml')
-rw-r--r--playbook.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/playbook.yaml b/playbook.yaml
index 8dc6fd8..84242c9 100644
--- a/playbook.yaml
+++ b/playbook.yaml
@@ -83,6 +83,14 @@
group: root
mode: "0600"
become: true
+ - name: Ensure borgmatic config directory exists
+ ansible.builtin.file:
+ path: /etc/borgmatic
+ state: directory
+ owner: root
+ group: root
+ mode: "0700"
+ become: true
- name: Ensure borgmatic is configured
ansible.builtin.template:
src: "{{ playbook_dir }}/files/borgmatic_config.yaml.j2"