added loops

This commit is contained in:
tolerryan
2024-10-22 01:58:44 -05:00
parent 1d224fbbf5
commit 5c12f19134

View File

@@ -17,4 +17,7 @@
weekday: "{{ item.job_day }}" weekday: "{{ item.job_day }}"
job: "{{ item.job_command }}" job: "{{ item.job_command }}"
user: "restic" user: "restic"
state: present state: present
loop: "{{ tasks }}"
loop_control:
label: "{{ item.name }}"