From 5c12f1913437a336b3944c777cb3a840ab4e4dc4 Mon Sep 17 00:00:00 2001 From: tolerryan <105945216+tolerryan@users.noreply.github.com> Date: Tue, 22 Oct 2024 01:58:44 -0500 Subject: [PATCH] added loops --- roles/lib/setup-restic-cron.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/lib/setup-restic-cron.yml b/roles/lib/setup-restic-cron.yml index 76f24e7..5a88688 100644 --- a/roles/lib/setup-restic-cron.yml +++ b/roles/lib/setup-restic-cron.yml @@ -17,4 +17,7 @@ weekday: "{{ item.job_day }}" job: "{{ item.job_command }}" user: "restic" - state: present \ No newline at end of file + state: present + loop: "{{ tasks }}" + loop_control: + label: "{{ item.name }}" \ No newline at end of file