Remove misplaced loop

This commit is contained in:
phil 2023-04-09 11:26:45 +02:00
parent f46724461b
commit 43dbe7c8cb

View file

@ -40,9 +40,8 @@
- name: "Borg | Export repo key"
ansible.builtin.command:
cmd: "borg key export ssh://{{ borgbase_repo.repo_id }}@{{ borgbackup_ssh_host }}/./repo borgbase"
cmd: "borg key export ssh://{{ borgbase_repo.repo_id }}@{{ borgbackup_ssh_host }}/./repo borgbase_{{ inventory_hostname }}"
chdir: "{{ borg_key_export_path }}"
loop: "{{ borg_repository }}"
when: borgbase is defined and borgbase
- name: "Borg | Save repo key to localhost"