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:
env:
SHELL:
name: SHELL
command: /bin/bash
MAILTO:
name: MAILTO
command: "me@ac.me"
tasks:
SHELL: /bin/bash
MAILTO: "me@ac.me"
tasks: {}

View File

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