fix: solve linting issues
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2021-02-04 21:53:48 +01:00
parent ae64b19f95
commit 6183c02f9c
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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