Tag all certificate and key copying

This commit is contained in:
Timo Makinen 2020-09-28 15:17:26 +00:00
parent 939edd1cdd
commit f543d599af
5 changed files with 11 additions and 0 deletions

View file

@ -80,6 +80,7 @@
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
tags: certificates
notify: restart slapd
- name: copy ldap server key
copy:
@ -88,6 +89,7 @@
mode: 0640
owner: root
group: ldap
tags: certificates
notify: restart slapd
- name: copy ldap server certificate chain
copy:
@ -96,6 +98,7 @@
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
tags: certificates
notify: restart slapd
- name: get ldap server chain hash
command: "openssl x509 -in /srv/letsencrypt/live/{{ ldap_server_cert }}/chain.pem -noout -hash"