[sssd] Use socket activation

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-06-26 08:43:37 +02:00
parent 816f192016
commit acfea4453d
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 8 additions and 1 deletions

View File

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

View File

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