deploy custom schemas

This commit is contained in:
Robert Kaussow 2018-12-12 22:08:46 +01:00
parent 1474aa9f17
commit 4b61ba3b5d
2 changed files with 12 additions and 0 deletions

View File

@ -41,3 +41,5 @@ ldap_proxy_acls:
- '*' - '*'
access_by: access_by:
- '* read' - '* read'
ldap_proxy_custom_schemas: []

View File

@ -45,6 +45,16 @@
mode: 0644 mode: 0644
notify: __slapd_restart notify: __slapd_restart
- name: Deploy custom ldap schemas
file:
src: "{{ item }}"
dest: "/etc/openldap/schema/{{ item | basename }}"
owner: root
group: root
mode: 0644
with_items: "{{ ldap_proxy_custom_schemas }}"
notify: __slapd_restart
- name: Open ports in iptables - name: Open ports in iptables
iptables_raw: iptables_raw:
name: "{{ item.name }}" name: "{{ item.name }}"