roles/nsswitch: Configure glibc name service
The *nsswitch* role can be used to configure the name service switch on glibc-based distributions, including Gentoo, Fedora, and CentOS. It is specifically focused on Active Directory authentication via Samba/Winbind.
This commit is contained in:
13
roles/nsswitch/vars/RedHat.yml
Normal file
13
roles/nsswitch/vars/RedHat.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
nsswitch_passwd:
|
||||
- files
|
||||
- '{{ "winbind" if nss_winbind|d else "sss" }}'
|
||||
nsswitch_shadow:
|
||||
- files
|
||||
nsswitch_group:
|
||||
- files
|
||||
- '{{ "winbind" if nss_winbind|d else "sss" }}'
|
||||
nsswitch_hosts:
|
||||
- files
|
||||
- '{% if nss_avahi|d %}mdns_minimal [NOTFOUND=return]{% endif %}'
|
||||
- dns
|
||||
- myhostname
|
||||
Reference in New Issue
Block a user