ansible/roles/prosody/templates/certs.j2

16 lines
348 B
Django/Jinja

---
{{ prosody_domain }}:
- path: /etc/prosody/certs/{{ prosody_domain }}.key
user: prosody
group: prosody
perm: '400'
format: key
action: '/usr/sbin/service prosody restart'
- path: /etc/prosody/certs/{{ prosody_domain }}.crt
user: prosody
group: prosody
perm: '400'
format: crt,ca
action: '/usr/sbin/service prosody restart'