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:
parent
a984bbbce9
commit
f46724461b
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
||||||
cmd: "borg key export {{ item.path }} {{ item.label }}_{{ inventory_hostname }}"
|
cmd: "borg key export {{ item.path }} {{ item.label }}_{{ inventory_hostname }}"
|
||||||
chdir: "{{ borg_key_export_path }}"
|
chdir: "{{ borg_key_export_path }}"
|
||||||
loop: "{{ borg_repository }}"
|
loop: "{{ borg_repository }}"
|
||||||
|
ignore_errors: true
|
||||||
|
|
||||||
- name: "Borg | Export repo key"
|
- name: "Borg | Export repo key"
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
|
|
Loading…
Reference in a new issue