Setup backup server configuration for backup replication.

This commit is contained in:
lhahn committed 2024-08-16 21:30:11 +02:00
1 parent 768da9cf45
commit 3508f62085
10 files changed
+560 -21

No files matched your search

-16
View File
@@ -1,20 +1,4 @@
---
- name: Setup backup storage password
copy:
content: "{{ backup_storage_key }}"
dest: "{{ backup_home }}/.borg.key"
owner: "{{ backup_owner }}"
group: "{{ backup_group }}"
mode: "0600"
- name: Setup ssh folder
file:
state: directory
path: "{{ backup_home }}/.ssh"
owner: "{{ backup_owner }}"
group: "{{ backup_group }}"
mode: "0700"
- name: Setup ssh keys
copy:
content: "{{ item.content }}"