ansible-role-bareos/templates/server-catalog.conf.j2
2021-09-12 11:55:41 +02:00

11 lines
364 B
Django/Jinja

# {{ ansible_managed }}
Catalog {
Name = database
dbdriver = "{{ bareos_server_database_type }}"
dbname = "{{ bareos_server_database_name }}"
{% if bareos_server_database_type != 'sqlite3' %}
dbaddress = "{{ bareos_server_database_host }}"
dbuser = "{{ bareos_server_database_user }}"
dbpassword = "{{ bareos_server_database_password }}"
{% endif %}
}