fetch user certificate for backup server

This commit is contained in:
Pim Kunis 2023-04-10 15:04:53 +02:00
parent 180445348e
commit 3c41b72c9b
6 changed files with 61 additions and 6 deletions

View file

@ -14,7 +14,7 @@
name: borgbackup
- name: Add Borg public key
authorized_key:
key: "ssh-ed25519 {{ borg_public_key }} root@max"
key: "{{ borg_public_key }}"
user: "{{ ansible_user_id }}"
- name: Create Borg repository
command: