summaryrefslogtreecommitdiffstats
path: root/roles/LDAP-provider/tasks/main.yml
blob: 0ba4f26c56eda8073a99e5a486d6c051d5fd1b8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- name: Load and configure the syncprov overlay
  openldap: module=syncprov state=present
            suffix=dc=fripost,dc=org
            target=etc/ldap/syncprov.ldif
            local=file

- name: Enable the EXTERNAL SASL mechanism
  lineinfile: dest=/usr/lib/sasl2/slapd.conf
              regexp='^mech_list'':'
              line=mech_list':'' EXTERNAL'
              owner=root group=root
              mode=0644

# TODO: authz constraint