Setup backup server configuration for backup replication.
This commit is contained in:
1 parent
768da9cf45
commit
3508f62085
10 files changed
+560
-21
No files matched your search
@@ -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 }}"
|
||||
|
||||
Reference in new issue
Block a user