aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-06-07 14:13:40 +0100
committerGravatar Joe Banks <[email protected]>2024-06-07 16:48:18 +0100
commitfb6b4b0d18c0d7a176b220eb3120e71627a63c0e (patch)
treec85c62153d73f6831e09b5052fa7605e094a258b
parentExtend Alloy configuration to include some default files + extra files (diff)
Add host vars for database host to export PostgreSQL log
-rw-r--r--ansible/host_vars/lovelace/alloy.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible/host_vars/lovelace/alloy.yml b/ansible/host_vars/lovelace/alloy.yml
new file mode 100644
index 0000000..9d079ef
--- /dev/null
+++ b/ansible/host_vars/lovelace/alloy.yml
@@ -0,0 +1,4 @@
+---
+alloy_extra_files:
+ - name: postgresql
+ path: "/var/log/postgresql/postgresql-*-main.log"