1
0
forked from infra/ansible
infra/roles/slapd/templates/certs.j2

19 lines
428 B
Plaintext
Raw Permalink Normal View History

2019-03-25 19:05:31 +01:00
---
{{ slapd_hostname }} {{ slapd_san }}:
- mode: dns.nsupdate
nsupdate_server: {{ acme_dnskey_server }}
nsupdate_keyfile: {{ acme_dnskey_file }}
- path: /etc/ldap/ssl/srv.key
user: openldap
group: openldap
perm: '400'
format: key
action: '/usr/sbin/service slapd restart'
- path: /etc/ldap/ssl/srv.crt
user: openldap
group: openldap
perm: '400'
format: crt,ca
action: '/usr/sbin/service slapd restart'