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

ansible-inventories/arocom#15 Allow crontabs to be defined by drupal domains

parent 9f1db271
No related branches found
No related tags found
No related merge requests found
......@@ -27,3 +27,4 @@ drupal_settings:
exclude_from_drush_alias: false
extra_settings: []
conf: []
crontabs: []
......@@ -106,3 +106,16 @@
with_nested:
- drupal.domains
- ['files', 'private']
- name: "Setup Crontabs for each domain"
cron:
name='Drupal: {{ item.name }}'
month='{{ item.month }}'
day='{{ item.day }}'
weekday='{{ item.weekday }}'
hour='{{ item.hour }}'
minute='{{ item.minute }}'
job='{{ item.job }} >/dev/null 2>&1'
with_subelements:
- drupal.domains
- crontabs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment