forked from infra/ansible
19 lines
426 B
Plaintext
19 lines
426 B
Plaintext
|
---
|
||
|
|
||
|
{{ ansible_fqdn }}:
|
||
|
- mode: dns.nsupdate
|
||
|
nsupdate_server: {{ acme_dnskey_server }}
|
||
|
nsupdate_keyfile: {{ acme_dnskey_file }}
|
||
|
- 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'
|