added support to restart services and for manual letsencrypt challange

This commit is contained in:
nd 2020-04-18 12:27:27 +02:00
parent 819293f8fd
commit abb03d4435
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
5 changed files with 39 additions and 1 deletions

7
tasks/common_post.yml Normal file
View file

@ -0,0 +1,7 @@
- name: restart depending services
when:
- certchanged
loop: "{{ cert.depending_services }}"
service:
name: "{{ item }}"
state: restarted