Tag all certificate and key copying

This commit is contained in:
Timo Makinen 2020-09-28 15:17:26 +00:00
parent 939edd1cdd
commit f543d599af
5 changed files with 11 additions and 0 deletions

View file

@ -28,6 +28,7 @@
- "/srv/letsencrypt/live/{{ site }}/privkey.pem"
- "/srv/ca/private/{{ site }}.key"
- "/srv/ca/private/{{ inventory_hostname }}.key"
tags: certificates
notify: restart nginx
- name: "copy site certificate for {{ site }}"
@ -41,4 +42,5 @@
- "/srv/letsencrypt/live/{{ site }}/fullchain.pem"
- "/srv/ca/certs/{{ site }}.crt"
- "/srv/ca/certs/{{ inventory_hostname }}.crt"
tags: certificates
notify: restart nginx