From bfe0d994d03f8a5255306036e642a448d7106a43 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Tue, 17 Jul 2018 13:26:45 +0200 Subject: [PATCH] common: fix regex --- roles/common/tasks/Debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/common/tasks/Debian.yml b/roles/common/tasks/Debian.yml index 41b3ba3..24a952f 100644 --- a/roles/common/tasks/Debian.yml +++ b/roles/common/tasks/Debian.yml @@ -75,5 +75,5 @@ - name: Prevent normal users from running su lineinfile: path: /etc/pam.d/su - regexp: '^# auth required pam_wheel.so$' + regexp: '^.*auth\s+required\s+pam_wheel.so$' line: 'auth required pam_wheel.so'