From 6ce8348bf01aa149af86086fa62bff0d9d08ef0f Mon Sep 17 00:00:00 2001 From: Patrick Hasler Date: Thu, 7 Nov 2024 12:39:03 +0100 Subject: [PATCH] fix: PAM auth console file name set file name according to the name of the bareos console --- tasks/pam_auth.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/pam_auth.yml b/tasks/pam_auth.yml index aba9e9b..497a72c 100644 --- a/tasks/pam_auth.yml +++ b/tasks/pam_auth.yml @@ -54,7 +54,7 @@ - name: pam_auth | Create PAM specific Bareos Console ansible.builtin.template: src: console.conf.j2 - dest: "/etc/bareos/bareos-dir.d/console/pam-adduser.conf" + dest: "/etc/bareos/bareos-dir.d/console/{{ item.name }}.conf" owner: bareos group: bareos mode: "0644"