diff --git a/tasks/borg.yml b/tasks/borg.yml index affb65b..d0ecd82 100644 --- a/tasks/borg.yml +++ b/tasks/borg.yml @@ -34,6 +34,7 @@ - name: "Borg | Export repo key" ansible.builtin.command: cmd: "borg key export {{ item.path }} {{ item.label }}" + chdir: "{{ borg_key_export_path }}" loop: "{{ borg_repository }}" - name: "Borg | Save repo key to localhost"