Update to 2020-05-15 15:00

master
Daniel Berteaud 5 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" command: "grep -c -P '^auth\\s+sufficient\\s+pam_sss.so' /etc/pam.d/system-auth"
register: ad_authconfig_done register: ad_authconfig_done
changed_when: False changed_when: False
ignore_errors: True failed_when: False
tags: auth tags: auth
- name: Configure the PAM stack - name: Configure the PAM stack

@ -3,8 +3,8 @@
- name: Check if authconfig needs to update pam config - name: Check if authconfig needs to update pam config
command: "grep -P '^auth\\s+sufficient\\s+pam_sss.so' /etc/pam.d/system-auth" command: "grep -P '^auth\\s+sufficient\\s+pam_sss.so' /etc/pam.d/system-auth"
register: auth_sss_done register: auth_sss_done
changed_when: false changed_when: False
ignore_errors: true failed_when: False
- name: Configure authentication with authconfig - name: Configure authentication with authconfig
command: authconfig --enablemkhomedir --enablesssd --enablesssdauth --update command: authconfig --enablemkhomedir --enablesssd --enablesssdauth --update

Loading…
Cancel
Save