From 6fe3c86a23698a905ee31ad82b028030ec300ec9 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 15 May 2020 15:00:06 +0200 Subject: [PATCH] Update to 2020-05-15 15:00 --- roles/sssd_ad_auth/tasks/pam_RedHat.yml | 2 +- roles/sssd_ldap_auth/tasks/pam_RedHat.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/sssd_ad_auth/tasks/pam_RedHat.yml b/roles/sssd_ad_auth/tasks/pam_RedHat.yml index d2bfb54..efce3fb 100644 --- a/roles/sssd_ad_auth/tasks/pam_RedHat.yml +++ b/roles/sssd_ad_auth/tasks/pam_RedHat.yml @@ -4,7 +4,7 @@ command: "grep -c -P '^auth\\s+sufficient\\s+pam_sss.so' /etc/pam.d/system-auth" register: ad_authconfig_done changed_when: False - ignore_errors: True + failed_when: False tags: auth - name: Configure the PAM stack diff --git a/roles/sssd_ldap_auth/tasks/pam_RedHat.yml b/roles/sssd_ldap_auth/tasks/pam_RedHat.yml index 9c7bf0e..e433bec 100644 --- a/roles/sssd_ldap_auth/tasks/pam_RedHat.yml +++ b/roles/sssd_ldap_auth/tasks/pam_RedHat.yml @@ -3,8 +3,8 @@ - name: Check if authconfig needs to update pam config command: "grep -P '^auth\\s+sufficient\\s+pam_sss.so' /etc/pam.d/system-auth" register: auth_sss_done - changed_when: false - ignore_errors: true + changed_when: False + failed_when: False - name: Configure authentication with authconfig command: authconfig --enablemkhomedir --enablesssd --enablesssdauth --update