diff options
author | Julien Dessaux | 2022-07-05 21:15:26 +0200 |
---|---|---|
committer | Julien Dessaux | 2022-07-05 21:54:40 +0200 |
commit | f084bd976cf942a43df7bbc77c63e21bf1045970 (patch) | |
tree | 097b2d2a82b60489c2d22c32e4e7802342d1e82e /tasks/server.yml | |
parent | Allow hyphens in borg job name (diff) | |
download | borg-ansible-role-f084bd976cf942a43df7bbc77c63e21bf1045970.tar.gz borg-ansible-role-f084bd976cf942a43df7bbc77c63e21bf1045970.tar.bz2 borg-ansible-role-f084bd976cf942a43df7bbc77c63e21bf1045970.zip |
Fixed authorized_keys configuration drift, and change repo directory from hostname to fqdn
Diffstat (limited to 'tasks/server.yml')
-rw-r--r-- | tasks/server.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tasks/server.yml b/tasks/server.yml index 78754a2..ce731f6 100644 --- a/tasks/server.yml +++ b/tasks/server.yml @@ -24,4 +24,11 @@ - /srv/borg - /srv/borg/.ssh - /srv/borg/repos + +- name: deploy borg authorized_keys + template: + dest: /srv/borg/.ssh/authorized_keys + src: authorized_keys + owner: borg + mode: 0400 ... |