deploy custom schemas
This commit is contained in:
parent
1474aa9f17
commit
4b61ba3b5d
@ -41,3 +41,5 @@ ldap_proxy_acls:
|
|||||||
- '*'
|
- '*'
|
||||||
access_by:
|
access_by:
|
||||||
- '* read'
|
- '* read'
|
||||||
|
|
||||||
|
ldap_proxy_custom_schemas: []
|
||||||
|
@ -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 }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user