rebase cronjob
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
- name: Setup restic cron jobs
|
||||
hosts: all
|
||||
become: yes
|
||||
remote_user: ansible
|
||||
gather_facts: false
|
||||
|
||||
vars_files:
|
||||
- cron.vars
|
||||
|
||||
tasks:
|
||||
- name: Set up restic cron jobs
|
||||
cron:
|
||||
name: "{{ job_name }}"
|
||||
minute: "{{ job_minute }}"
|
||||
hour: "{{ job_hour }}"
|
||||
job: "{{ job_command }}"
|
||||
user: "restic"
|
||||
state: present
|
||||
Reference in New Issue
Block a user