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

@ -15,6 +15,7 @@
with_first_found:
- "/srv/letsencrypt/live/{{ mail_server }}/privkey.pem"
- "/srv/ca/private/{{ inventory_hostname }}.key"
tags: certificates
notify: restart dovecot
- name: install certificate
@ -27,6 +28,7 @@
with_first_found:
- "/srv/letsencrypt/live/{{ mail_server }}/fullchain.pem"
- "/srv/ca/certs/{{ inventory_hostname }}.crt"
tages: certificates
notify: restart dovecot
- name: create local config