paulbsd-salt/states/cron/init.sls
2021-07-17 15:22:43 +02:00

8 lines
221 B
Plaintext

---
{%- from "cron/map.jinja" import cron with context %}
{%- for key, value in cron.env.items() %}
cron-env-{{ key|lower }}:
cron.env_present:
- name: {{ value.name }}
- value: {{ value.command }}
{%- endfor %}