updated gobackup state
This commit is contained in:
parent
16977767ed
commit
b58d7e0b99
@ -8,4 +8,14 @@ gobackup-config-file:
|
|||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ gobackup.config_dir }}/gobackup.yml
|
- name: {{ gobackup.config_dir }}/gobackup.yml
|
||||||
- source: salt://gobackup/templates/gobackup.yml.j2
|
- source: salt://gobackup/templates/gobackup.yml.j2
|
||||||
- template: jinja
|
- 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
|
config_dir: /etc/gobackup
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
schedule:
|
||||||
|
hours: 3
|
||||||
|
minutes: 3
|
||||||
config:
|
config:
|
||||||
models:
|
models:
|
||||||
gobackup:
|
gobackup:
|
||||||
|
Loading…
Reference in New Issue
Block a user