diff --git a/roles/mgrote_rsync/defaults/main.yml b/roles/mgrote_rsync/defaults/main.yml index 401208ec..5a5e5c8a 100644 --- a/roles/mgrote_rsync/defaults/main.yml +++ b/roles/mgrote_rsync/defaults/main.yml @@ -9,7 +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_private_key: "{{ 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? diff --git a/roles/mgrote_rsync/templates/private_key.j2 b/roles/mgrote_rsync/templates/private_key.j2 index dbf9651b..b88c79ae 100644 --- a/roles/mgrote_rsync/templates/private_key.j2 +++ b/roles/mgrote_rsync/templates/private_key.j2 @@ -1 +1 @@ -{{ rsync_mirror_privatekey }} +{{ rsync_mirror_private_key }}