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