Skip to content

Commit f3e6d51

Browse files
author
Anton Ustyuzhanin
committed
Enable pam_mkhomedir in RedHat
1 parent b4292aa commit f3e6d51

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tasks/pamd.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@
66
when: ansible_os_family == "Debian"
77
notify:
88
- run pam auth update
9+
10+
- name: pamd | add pam_mkhomedir for RedHat machines
11+
command: authconfig --enablemkhomedir --update
12+
changed_when: false
13+
when: ansible_os_family == "RedHat"

vars/centos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ sssd_ldap_packages:
44
- sssd-ldap
55
- sudo
66
- openssh-server
7+
- authconfig
78

89
sssd_ldap_ssh_service: sshd

0 commit comments

Comments
 (0)