updated cron state

This commit is contained in:
Paul 2022-05-14 11:22:42 +02:00
parent cd24fab014
commit 779771e8d6
2 changed files with 5 additions and 9 deletions

View File

@ -1,10 +1,6 @@
--- ---
cron: cron:
env: env:
SHELL: SHELL: /bin/bash
name: SHELL MAILTO: "me@ac.me"
command: /bin/bash tasks: {}
MAILTO:
name: MAILTO
command: "me@ac.me"
tasks:

View File

@ -3,6 +3,6 @@
{%- for key, value in cron.env.items() %} {%- for key, value in cron.env.items() %}
cron-env-{{ key|lower }}: cron-env-{{ key|lower }}:
cron.env_present: cron.env_present:
- name: {{ value.name }} - name: {{ key }}
- value: {{ value.command }} - value: {{ value }}
{%- endfor %} {%- endfor %}