paulbsd-salt/states/cron/init.sls

8 lines
221 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- from "cron/map.jinja" import cron with context %}
{%- for key, value in cron.env.items() %}
2021-07-17 15:22:43 +02:00
cron-env-{{ key|lower }}:
2020-07-10 00:58:55 +02:00
cron.env_present:
- name: {{ value.name }}
- value: {{ value.command }}
{%- endfor %}