Update to 2020-05-15 15:00

master
Daniel Berteaud 4 years ago
parent 32d794ed36
commit 6fe3c86a23
  1. 2
      roles/sssd_ad_auth/tasks/pam_RedHat.yml
  2. 4
      roles/sssd_ldap_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

@ -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

Loading…
Cancel
Save