ansible-pilote/templates/bacula/conf.d/schedules.conf.j2

12 lines
308 B
Text
Raw Permalink Normal View History

{{ ansible_managed | comment }}
{% for schedule in bacula_schedules | default([]) %}
Schedule {
Name = {{ schedule['name'] }}
{% for run in schedule['runs'] %}
Run = {% for k, v in run.get('job_overrides', {}).items() %}{{ k }}={{ v }} {% endfor %} {{ run['datetime'] }}
{% endfor %}
}
{% endfor %}