diff options
Diffstat (limited to 'roles/cgit/handlers')
| -rw-r--r-- | roles/cgit/handlers/main.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/cgit/handlers/main.yml b/roles/cgit/handlers/main.yml index d4481590..52ffdbee 100644 --- a/roles/cgit/handlers/main.yml +++ b/roles/cgit/handlers/main.yml @@ -1,6 +1,20 @@ --- +- name: "Restart lighttpd" + become: true + ansible.builtin.service: + name: lighttpd + state: restarted + +- name: "Restart caddy" + become: true + delegate_to: "{{ cgit_proxy_host }}" + ansible.builtin.service: + name: caddy + state: restarted + - name: "Restart nginx" become: true + delegate_to: "{{ cgit_proxy_host }}" ansible.builtin.service: name: nginx state: restarted |
