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

31 lines
688 B
Django/Jinja

{{ ansible_managed | comment }}
Director {
Name = {{ bacula_director_name }}
Password = "{{ bacula_storage_password }}"
}
Storage {
Name = {{ bacula_storage_name }}
SDPort = 9103
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 20
SDAddress = {{ bacula_storage_address | default('127.0.0.1') }}
}
Device {
Name = {{ bacula_device_name }}
Media Type = File
Archive Device = {{ bacula_device_archive_device }}
LabelMedia = yes
Random Access = yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
Messages {
Name = Standard
director = {{ bacula_director_name }} = all
}