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