summaryrefslogtreecommitdiffstats
path: root/roles/bacula-dir/templates/etc/bacula/bconsole.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bacula-dir/templates/etc/bacula/bconsole.conf.j2')
-rw-r--r--roles/bacula-dir/templates/etc/bacula/bconsole.conf.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/bacula-dir/templates/etc/bacula/bconsole.conf.j2 b/roles/bacula-dir/templates/etc/bacula/bconsole.conf.j2
new file mode 100644
index 0000000..e7f2726
--- /dev/null
+++ b/roles/bacula-dir/templates/etc/bacula/bconsole.conf.j2
@@ -0,0 +1,10 @@
+#
+# Bacula User Agent (or Console) Configuration File
+#
+
+Director {
+ Name = {{ inventory_hostname_short }}-dir
+ DirPort = 9101
+ Address = 127.0.0.1
+ @|"sed -n '/^bconsole\\s/ {s//Password = /p; q}' /etc/bacula/passwords-dir"
+}