[sssd] Use socket activation
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
816f192016
commit
acfea4453d
|
@ -18,6 +18,14 @@
|
||||||
mode: 0600
|
mode: 0600
|
||||||
notify: Restart sssd service
|
notify: Restart sssd service
|
||||||
|
|
||||||
|
- name: Enable sssd socket activation
|
||||||
|
systemd:
|
||||||
|
name: "sssd-{{ item }}"
|
||||||
|
enabled: true
|
||||||
|
loop:
|
||||||
|
- nss
|
||||||
|
- pam
|
||||||
|
|
||||||
- name: Configure nslcd for hosts
|
- name: Configure nslcd for hosts
|
||||||
template:
|
template:
|
||||||
src: nslcd.conf.j2
|
src: nslcd.conf.j2
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{{ ansible_header | comment }}
|
{{ ansible_header | comment }}
|
||||||
[sssd]
|
[sssd]
|
||||||
config_file_version = 2
|
config_file_version = 2
|
||||||
services = nss, pam
|
|
||||||
domains = {{ sssd.primary.domain }}, {{ sssd.secondary.domain }}
|
domains = {{ sssd.primary.domain }}, {{ sssd.secondary.domain }}
|
||||||
|
|
||||||
[domain/{{ sssd.primary.domain }}]
|
[domain/{{ sssd.primary.domain }}]
|
||||||
|
|
Loading…
Reference in New Issue