TuDatTr cbb3bfd854 Added tag for backup
add pihole on aya01

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
2022-12-08 23:54:31 +01:00

10 lines
264 B
YAML

---
- name: Backing up for "{{ inventory_hostname }}"
shell:
cmd: "rclone sync {{ item.1 }} secret:{{ item.1 }}"
when: item.0.key == inventory_hostname
loop: "{{ backblaze_paths | dict2items | subelements('value') }}"
become: true
tags:
- backup