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