Ignore errors in export tasks

Doesn't work with when conditional (is defined) because the conditional
is evaluated after the loop
This commit is contained in:
phil 2023-04-09 11:25:06 +02:00
parent a984bbbce9
commit f46724461b

View file

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