add conjob state option
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d1cd0b73d1
commit
e43dbd2431
@ -44,4 +44,5 @@ minio_cronjobs: []
|
||||
# job: "mc rm --older-than 30d --recursive --force my_bucket/logs"
|
||||
# user: "{{ minio_user }}"
|
||||
# cron_file: "minio"
|
||||
# state: "present"
|
||||
# @end
|
||||
|
@ -43,6 +43,7 @@
|
||||
job: "{{ item.job }}"
|
||||
user: "{{ item.user | default(omit) }}"
|
||||
cron_file: "{{ item.cron_file | default(omit) }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
loop: "{{ minio_cronjobs }}"
|
||||
loop_control:
|
||||
label: "{{ item.name }}"
|
||||
|
Loading…
Reference in New Issue
Block a user