Re organized internal CA directories

This commit is contained in:
Timo Makinen 2021-10-07 18:03:05 +00:00
parent ee39a34fad
commit 7a2b2c0b48
6 changed files with 9 additions and 9 deletions

View file

@ -41,7 +41,7 @@
validate: /usr/bin/openssl x509 -in %s -noout
with_first_found:
- "/srv/letsencrypt/live/{{ site }}/fullchain.pem"
- "/srv/ca/certs/{{ site }}.crt"
- "/srv/ca/certs/{{ inventory_hostname }}.crt"
- "/srv/ca/certs/hosts/{{ site }}.crt"
- "/srv/ca/certs/hosts/{{ inventory_hostname }}.crt"
tags: certificates
notify: restart nginx