diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-10-24 23:43:20 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-10-24 23:43:20 +0200 |
commit | 792ececf6b450ad9588c45d0f4b8652e42145f3d (patch) | |
tree | 121e22f50e91a552a0067640024997d313c8c16a /roles/x509/static/cert/prepare/handlers | |
parent | add new role docker/registry (WIP) (diff) |
x509: some daemons can't be reloaded and need to be restarted...
Diffstat (limited to 'roles/x509/static/cert/prepare/handlers')
-rw-r--r-- | roles/x509/static/cert/prepare/handlers/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/x509/static/cert/prepare/handlers/main.yml b/roles/x509/static/cert/prepare/handlers/main.yml index 39f28f73..589d6dde 100644 --- a/roles/x509/static/cert/prepare/handlers/main.yml +++ b/roles/x509/static/cert/prepare/handlers/main.yml @@ -6,3 +6,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 |