ansible/roles/backblaze/tasks/backup.yml

7 lines
230 B
YAML
Raw Normal View History

---
- name: Loop over subelements of the dictionary
shell:
cmd: "rclone -vv sync {{ item.1 }} secret:{{ item.1 }}"
when: item.0.key == inventory_hostname
loop: "{{ backblaze_paths | dict2items | subelements('value') }}"