From c3bdb3c7e51b1476af9ebf090fac2fbe323c1091 Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 14 Jan 2021 18:57:53 +0100 Subject: Breakdown roles links with dependencies --- roles/cgit/tasks/main.yml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'roles/cgit/tasks') diff --git a/roles/cgit/tasks/main.yml b/roles/cgit/tasks/main.yml index c5b2420..3a20a59 100644 --- a/roles/cgit/tasks/main.yml +++ b/roles/cgit/tasks/main.yml @@ -9,18 +9,8 @@ name: cgit state: present -- name: ensure httpd.d directory exists - file: path=/etc/httpd.d state=directory - -- name: copy httpd configuration - copy: - src: httpd.conf - dest: /etc/httpd.d/stagit.conf - owner: "{{ user_root }}" - group: "{{ group_root }}" - mode: 0644 - -- name: execute static-page generation script once - shell: ./generate-static-git.sh - args: - chdir: "{{ stagit_htmldir }}" +- name: start and enable slowcgi service + service: + name: slowcgi + state: restarted + enabled: true -- cgit v1.2.3