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

16 lines
571 B
Django/Jinja

{{ ansible_managed | comment }}
{% for pool in bacula_pools | default([]) %}
Pool {
Name = {{ pool['name'] }}
Pool Type = {{ pool['pool_type'] }}
Recycle = {{ pool['recycle'] }}
AutoPrune = {{ pool['auto_prune'] }}
Volume Retention = {{ pool['volume_retention'] }}
Storage = {{ pool['storage'] }}
Maximum Volume Bytes = {{ pool['maximum_volume_bytes'] }}
Maximum Volumes = {{ pool['maximum_volumes'] }}
LabelFormat = "{{ pool['labelformat'] }}"
}
{% endfor %}