ldap/server: Include chain files to certificates tag

This commit is contained in:
Timo Makinen 2020-12-08 08:02:32 +00:00
parent 36cbc1dd48
commit c1198880bb

View file

@ -105,6 +105,7 @@
delegate_to: localhost delegate_to: localhost
register: result register: result
changed_when: false changed_when: false
tags: certificates
- name: link server chain certificate - name: link server chain certificate
file: file:
path: "/etc/openldap/certs/{{ result.stdout }}.0" path: "/etc/openldap/certs/{{ result.stdout }}.0"
@ -113,6 +114,7 @@
group: "{{ ansible_wheel }}" group: "{{ ansible_wheel }}"
follow: false follow: false
state: link state: link
tags: certificates
- name: link local ca certificate - name: link local ca certificate
file: file:
path: "/etc/openldap/certs/{{ pki_cacert_hash }}.0" path: "/etc/openldap/certs/{{ pki_cacert_hash }}.0"