ansible-pilote/templates/bacula/conf.d/schedules.conf.j2
Julien Riou 096a3e0540
Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
2024-04-27 15:21:55 +02:00

11 lines
308 B
Django/Jinja

{{ 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 %}