backups / weblate-backup: make .ssh dir for user
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
0bcb4d9805
commit
68105a47bb
1 changed files with 10 additions and 0 deletions
|
@ -12,6 +12,16 @@
|
|||
tags:
|
||||
- weblate_backup
|
||||
|
||||
- name: create a .ssh dir for that user
|
||||
file:
|
||||
dest: "/home/_backup_weblate/.ssh"
|
||||
mode: 0700
|
||||
state: directory
|
||||
owner: _backup_weblate
|
||||
group: _backup_weblate
|
||||
tags:
|
||||
- weblate_backup
|
||||
|
||||
- name: Copy private key
|
||||
copy:
|
||||
src: "{{ private }}/files/weblate/id_rsa"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue