Add hostname info to exported key

This commit is contained in:
phil 2023-04-09 10:23:41 +02:00
parent 848ee79a69
commit 303b738f99

View file

@ -33,7 +33,7 @@
- name: "Borg | Export repo key"
ansible.builtin.command:
cmd: "borg key export {{ item.path }} {{ item.label }}"
cmd: "borg key export {{ item.path }} {{ item.label }}_{{ inventory_hostname }}"
chdir: "{{ borg_key_export_path }}"
loop: "{{ borg_repository }}"