agaric-coop/box/provisioning/tasks/cron.yml

14 lines
477 B
YAML
Raw Permalink Normal View History

---
- name: Ensure configured cron jobs exist in user account's crontab.
cron:
name: "{{ item.name }}"
minute: "{{ item.minute | default('*') }}"
hour: "{{ item.hour | default('*') }}"
day: "{{ item.day | default('*') }}"
weekday: "{{ item.weekday | default('*') }}"
month: "{{ item.month | default('*') }}"
job: "{{ item.job }}"
state: "{{ item.state | default('present') }}"
with_items: "{{ drupalvm_cron_jobs|default([]) }}"
become: no