diff options
Diffstat (limited to 'roles/x509/uacme/cert/prepare/handlers')
-rw-r--r-- | roles/x509/uacme/cert/prepare/handlers/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/x509/uacme/cert/prepare/handlers/main.yml b/roles/x509/uacme/cert/prepare/handlers/main.yml index f3bb86f7..d31a956a 100644 --- a/roles/x509/uacme/cert/prepare/handlers/main.yml +++ b/roles/x509/uacme/cert/prepare/handlers/main.yml @@ -10,3 +10,11 @@ service: name: "{{ x509_certificate_reload_service }}" state: reloaded + +- name: restart services for x509 certificates + loop: "{{ x509_certificate_restart_services | default([]) }}" + loop_control: + loop_var: x509_certificate_restart_service + service: + name: "{{ x509_certificate_restart_service }}" + state: restarted |