diff --git a/roles/sssd/tasks/main.yml b/roles/sssd/tasks/main.yml index b5d5324eb923a36f71a451de2a12f3852e43f6a1..d1b16882546e543f8be3a90510309ad0e8eed322 100644 --- a/roles/sssd/tasks/main.yml +++ b/roles/sssd/tasks/main.yml @@ -18,6 +18,14 @@ mode: 0600 notify: Restart sssd service +- name: Enable sssd socket activation + systemd: + name: "sssd-{{ item }}" + enabled: true + loop: + - nss + - pam + - name: Configure nslcd for hosts template: src: nslcd.conf.j2 diff --git a/roles/sssd/templates/sssd/sssd.conf.j2 b/roles/sssd/templates/sssd/sssd.conf.j2 index 8c157cc78a1dc03130eb68573c0c17f70b0aa800..4dfce22db5ba130d38abdf1ecdd4ef1ed83bef79 100644 --- a/roles/sssd/templates/sssd/sssd.conf.j2 +++ b/roles/sssd/templates/sssd/sssd.conf.j2 @@ -1,7 +1,6 @@ {{ ansible_header | comment }} [sssd] config_file_version = 2 -services = nss, pam domains = {{ sssd.primary.domain }}, {{ sssd.secondary.domain }} [domain/{{ sssd.primary.domain }}]