parent
0b1eda68bd
commit
80f085411c
@ -25,7 +25,7 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: __slapd_restart
|
||||
notify: __slapd_restart
|
||||
|
||||
- name: Deploy config file to '{{ ldap_proxy_base_dir }}/slapd.conf'
|
||||
template:
|
||||
@ -34,7 +34,7 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: __slapd_restart
|
||||
notify: __slapd_restart
|
||||
|
||||
- name: Deploy access control file '{{ ldap_proxy_acl_file }}'
|
||||
template:
|
||||
@ -43,7 +43,7 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: __slapd_restart
|
||||
notify: __slapd_restart
|
||||
|
||||
- name: Deploy custom ldap schemas
|
||||
copy:
|
||||
@ -53,18 +53,18 @@
|
||||
group: root
|
||||
mode: 0644
|
||||
with_items: "{{ ldap_proxy_custom_schemas }}"
|
||||
notify: __slapd_restart
|
||||
notify: __slapd_restart
|
||||
|
||||
- name: Open ports in iptables
|
||||
iptables_raw:
|
||||
name: "{{ item.name }}"
|
||||
rules: "{{ item.rules }}"
|
||||
state: "{{ item.state }}"
|
||||
weight: "{{ item.weight|default(omit) }}"
|
||||
table: "{{ item.table|default(omit) }}"
|
||||
weight: "{{ item.weight | default(omit) }}"
|
||||
table: "{{ item.table | default(omit) }}"
|
||||
with_items: "{{ ldap_proxy_open_ports }}"
|
||||
loop_control:
|
||||
label: "{{item.name}}"
|
||||
label: "{{ item.name }}"
|
||||
when: ldap_proxy_iptables_enabled
|
||||
become: True
|
||||
become_user: root
|
||||
|
Loading…
Reference in New Issue
Block a user