chagne "tasks" variable to cronjob

This commit is contained in:
tolerryan
2024-10-27 23:37:56 -05:00
parent abe2b1a37c
commit b357de1703
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
---
tasks:
cronjob:
#- name: home
# job_name: "Daily /home/docker/ Backup"
# job_minute: "0"

View File

@@ -54,7 +54,7 @@
include: ../../lib/setup-restic.yml
- name: Setup Restic Cron jobs
include: ../../lib/setup-restic-cron.yml
include_tasks: ../../lib/setup-restic-cron.yml
- name: Create wikmd user
user:

View File

@@ -19,6 +19,6 @@
job: "{{ item.job_command }}"
user: "{{ item.user }}"
state: present
loop: "{{ tasks }}"
loop: "{{ cronjob }}"
loop_control:
label: "{{ item.name }}"