From ea4878d0d9cf600e71bd01d0bdfc8f5c78ddcb48 Mon Sep 17 00:00:00 2001 From: stephan Date: Sat, 9 Dec 2023 15:09:47 +0000 Subject: [PATCH] changed /etc/pam.d/sshd to show motd --- roles/slurm/tasks/compute.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/slurm/tasks/compute.yml b/roles/slurm/tasks/compute.yml index 6260f4a89..14612ff8a 100644 --- a/roles/slurm/tasks/compute.yml +++ b/roles/slurm/tasks/compute.yml @@ -165,6 +165,8 @@ -account sufficient {{ slurm_pam_lib_dir }}/pam_slurm_adopt.so action_no_jobs=ignore -account sufficient pam_listfile.so item=user sense=allow file=/etc/localusers -account required {{ slurm_pam_lib_dir }}/pam_slurm_adopt.so + session optional pam_motd.so motd=/run/motd.dynamic + session optional pam_motd.so noupdate insertafter: EOF marker: "# {mark} ANSIBLE MANAGED BLOCK (ansible-role-slurm)" tags: