Skip to content
Snippets Groups Projects
Commit f29b3fb5 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#15 Define crontabs in inventory and finish roles

parent ae895661
Branches
Tags
No related merge requests found
......@@ -30,11 +30,11 @@
- name: 'ownCloud | Install cron job'
cron:
name='ownCloud cron'
month='{{ owncloud_cron_core.month }}'
day='{{ owncloud_cron_core.day }}'
weekday='{{ owncloud_cron_core.weekday }}'
hour='{{ owncloud_cron_core.hour }}'
minute='{{ owncloud_cron_core.minute }}'
month='{{ owncloud_cron_core.month|default(omit) }}'
day='{{ owncloud_cron_core.day|default(omit) }}'
weekday='{{ owncloud_cron_core.weekday|default(omit) }}'
hour='{{ owncloud_cron_core.hour|default(omit) }}'
minute='{{ owncloud_cron_core.minute|default(omit) }}'
job='php /var/www/owncloud/cron.php >/dev/null 2>&1'
user='www-data'
when: owncloud_cron_core.active
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment