dfg
Some checks failed
ansible-lint / gitleaks (pull_request) Successful in 8s
ansible-lint / Ansible Lint (pull_request) Failing after 1m58s

This commit is contained in:
Michael Grote 2024-10-28 19:01:39 +01:00
parent ae17ae921b
commit 72397a7eee
4 changed files with 5 additions and 2 deletions

Binary file not shown.

View file

@ -9,4 +9,7 @@ rsync_mirror_dirs:
- src: /hdd_data/tmp # slashes beachten
dest: rsync_mirror@pbs.mgrote.net:/backup/pve5/tmp
rsync_mirror_privatekey: "{{ lookup('viczem.keepass.keepass', 'rsync_mirror_private_key', 'password') }}"
rsync_mirror_public_key: "{{ lookup('viczem.keepass.keepass', 'rsync_mirror_public_key', 'password') }}"
## todo ssh konfig in datei statt inline?

View file

@ -2,4 +2,4 @@
- name: Ensure SSH-Public-Key is templated
ansible.posix.authorized_key:
user: "{{ rsync_mirror_user }}"
key: "{{ rsync_mirror_syncoid_ssh_pubkey }}"
key: "{{ rsync_mirror_public_key }}"

View file

@ -1 +1 @@
{{ rsync_mirror_syncoid_ssh_privkey }}
{{ rsync_mirror_privatekey }}