Commit 29e4154a authored by Jürgen Haas's avatar Jürgen Haas

Allow to disable crontabs

parent 23984646
......@@ -44,6 +44,7 @@
hour={{ item.hour|default('1') }}
minute={{ item.minute|default('0') }}
job='/usr/local/bin/gcloud-sync.sh {{ gcloud[item.account]["account"] }} {{ gcloud[item.account]["projectid"] }} "{{ item.source }}" "{{ item.bucket }}" >>/var/log/gcloud/rsync.log 2>&1'
disabled='{{ item.disabled|default(false) }}'
with_items: '{{ gcloud_sync|default([]) }}'
tags: 'cron'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment