This commit is contained in:
parent
ae64b19f95
commit
6183c02f9c
@ -14,6 +14,7 @@
|
|||||||
state: directory
|
state: directory
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
mode: 0750
|
||||||
loop:
|
loop:
|
||||||
- "{{ ldap_proxy_base_dir }}"
|
- "{{ ldap_proxy_base_dir }}"
|
||||||
- "{{ ldap_proxy_acl_file | dirname }}"
|
- "{{ ldap_proxy_acl_file | dirname }}"
|
||||||
@ -24,7 +25,7 @@
|
|||||||
dest: "/etc/sysconfig/slapd"
|
dest: "/etc/sysconfig/slapd"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0600
|
||||||
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'
|
||||||
@ -33,7 +34,7 @@
|
|||||||
dest: "{{ ldap_proxy_base_dir }}/slapd.conf"
|
dest: "{{ ldap_proxy_base_dir }}/slapd.conf"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0640
|
||||||
notify: __slapd_restart
|
notify: __slapd_restart
|
||||||
|
|
||||||
- name: Deploy access control file '{{ ldap_proxy_acl_file }}'
|
- name: Deploy access control file '{{ ldap_proxy_acl_file }}'
|
||||||
@ -42,7 +43,7 @@
|
|||||||
dest: "{{ ldap_proxy_acl_file }}"
|
dest: "{{ ldap_proxy_acl_file }}"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0640
|
||||||
notify: __slapd_restart
|
notify: __slapd_restart
|
||||||
|
|
||||||
- name: Deploy custom ldap schemas
|
- name: Deploy custom ldap schemas
|
||||||
@ -51,7 +52,7 @@
|
|||||||
dest: "/etc/openldap/schema/{{ item | basename }}"
|
dest: "/etc/openldap/schema/{{ item | basename }}"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0640
|
||||||
loop: "{{ ldap_proxy_custom_schemas }}"
|
loop: "{{ ldap_proxy_custom_schemas }}"
|
||||||
notify: __slapd_restart
|
notify: __slapd_restart
|
||||||
become: True
|
become: True
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
state: directory
|
state: directory
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
mode: 0750
|
||||||
selevel: s0
|
selevel: s0
|
||||||
serole: object_r
|
serole: object_r
|
||||||
setype: slapd_cert_t
|
setype: slapd_cert_t
|
||||||
|
Loading…
Reference in New Issue
Block a user