ansible/roles/web_gw/templates/certs.j2

16 lines
318 B
Plaintext
Raw Permalink Normal View History

2017-07-03 21:18:45 +02:00
---
{{ ansible_fqdn }}:
- path: /etc/nginx/ssl/{{ ansible_fqdn }}.crt
user: root
group: root
perm: '400'
format: crt,ca
action: '/usr/sbin/service nginx restart'
- path: /etc/nginx/ssl/{{ ansible_fqdn }}.key
user: root
group: root
perm: '400'
format: key
action: '/usr/sbin/service nginx restart'