mirror of
https://github.com/saltstack-formulas/cron-formula.git
synced 2025-07-20 11:08:23 +02:00
fix(iteritems): replace with items
instead
This commit is contained in:
parent
0f1c9cf081
commit
e4185f4add
@ -4,7 +4,7 @@
|
|||||||
{% from "cron/map.jinja" import cron_settings with context %}
|
{% from "cron/map.jinja" import cron_settings with context %}
|
||||||
|
|
||||||
{% if 'tasks' in cron_settings %}
|
{% if 'tasks' in cron_settings %}
|
||||||
{% for task,task_options in cron_settings.tasks.iteritems() %}
|
{% for task,task_options in cron_settings.tasks.items() %}
|
||||||
|
|
||||||
cron.{{ task }}:
|
cron.{{ task }}:
|
||||||
cron.{{ task_options.type|default('present') }}:
|
cron.{{ task_options.type|default('present') }}:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user