updated gobackup state
This commit is contained in:
parent
16977767ed
commit
b58d7e0b99
@ -9,3 +9,13 @@ gobackup-config-file:
|
||||
- name: {{ gobackup.config_dir }}/gobackup.yml
|
||||
- source: salt://gobackup/templates/gobackup.yml.j2
|
||||
- template: jinja
|
||||
|
||||
gobackup-task-schedule:
|
||||
schedule.present:
|
||||
- name: gobackup-task-schedule
|
||||
- function: cmd.run
|
||||
- job_args:
|
||||
- gobackup perform
|
||||
- hours: {{ gobackup.schedule.hours }}
|
||||
- minutes: {{ gobackup.schedule.minutes }}
|
||||
- run_on_start: false
|
||||
|
@ -6,6 +6,9 @@ gobackup:
|
||||
config_dir: /etc/gobackup
|
||||
os: linux
|
||||
arch: amd64
|
||||
schedule:
|
||||
hours: 3
|
||||
minutes: 3
|
||||
config:
|
||||
models:
|
||||
gobackup:
|
||||
|
Loading…
Reference in New Issue
Block a user