diff options
Diffstat (limited to 'roles/obsd_cgit')
| -rw-r--r-- | roles/obsd_cgit/handlers/main.yml | 4 | ||||
| -rw-r--r-- | roles/obsd_cgit/tasks/main.yml | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/roles/obsd_cgit/handlers/main.yml b/roles/obsd_cgit/handlers/main.yml deleted file mode 100644 index 356bdcb..0000000 --- a/roles/obsd_cgit/handlers/main.yml +++ /dev/null @@ -1,4 +0,0 @@ -- name: Reload httpd - ansible.builtin.service: - name: httpd - state: reloaded diff --git a/roles/obsd_cgit/tasks/main.yml b/roles/obsd_cgit/tasks/main.yml index 1d19d18..59b0e62 100644 --- a/roles/obsd_cgit/tasks/main.yml +++ b/roles/obsd_cgit/tasks/main.yml @@ -77,10 +77,15 @@ - name: Compile markdown renderer into chroot ansible.builtin.include_tasks: markdown.yml +- name: Enable slowcgi + ansible.builtin.service: + name: slowcgi + enabled: true + - name: Deploy cgit vhost fragment ansible.builtin.template: src: httpd.d/cgit.conf.j2 - dest: "{{ obsd_httpd_conf_d | default('/etc/httpd.d') }}/cgit.conf" + dest: "{{ obsd_httpd_conf_d }}/cgit.conf" owner: root group: wheel mode: "0644" |