diff options
author | binary <me@rgoncalves.se> | 2021-01-14 18:57:53 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-14 18:57:53 +0100 |
commit | c3bdb3c7e51b1476af9ebf090fac2fbe323c1091 (patch) | |
tree | 33171bfb8581605a18a36bcc5ea03acee025ccb4 /roles/cgit | |
parent | 5d89d2fabc260ab0d0594d3688ca279fdcc249aa (diff) | |
download | infrastructure-c3bdb3c7e51b1476af9ebf090fac2fbe323c1091.tar.gz |
Breakdown roles links with dependencies
Diffstat (limited to 'roles/cgit')
-rw-r--r-- | roles/cgit/meta/main.yml | 7 | ||||
-rw-r--r-- | roles/cgit/tasks/main.yml | 20 |
2 files changed, 12 insertions, 15 deletions
diff --git a/roles/cgit/meta/main.yml b/roles/cgit/meta/main.yml new file mode 100644 index 0000000..121b592 --- /dev/null +++ b/roles/cgit/meta/main.yml @@ -0,0 +1,7 @@ + +# cgit ~~ roles/cgit/meta/main.yml +# Meta parameters + +--- + +dependencies: git 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 |