From cc2be89b3f544ac59b0c3323f1627edec4bf05a0 Mon Sep 17 00:00:00 2001
From: Eesaan Atluri <atlurie@uab.edu>
Date: Fri, 7 Oct 2022 13:15:59 -0500
Subject: [PATCH] LMOD tracking client template file to add to rsyslog

---
 ansible/roles/lmod_user/templates/rsyslog.j2 | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 ansible/roles/lmod_user/templates/rsyslog.j2

diff --git a/ansible/roles/lmod_user/templates/rsyslog.j2 b/ansible/roles/lmod_user/templates/rsyslog.j2
new file mode 100644
index 0000000..537711a
--- /dev/null
+++ b/ansible/roles/lmod_user/templates/rsyslog.j2
@@ -0,0 +1,2 @@
+if $programname contains 'ModuleUsageTracking' then @{{ lmod_db_host_machine }}
+&~
-- 
GitLab