---
{{ gogs_domain }}:
- path: /etc/nginx/ssl/{{ gogs_domain }}.key
user: root
group: root
perm: '400'
format: key
action: '/usr/sbin/service nginx restart'
- path: /etc/nginx/ssl/{{ gogs_domain }}.crt
format: crt,ca