From 9625bb6d5996e84827140e37d5f93a0f371dc8e6 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 18 Apr 2018 17:19:28 +0800 Subject: git/cgit: copy script and install highlight --- roles/git/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'roles/git/tasks') diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml index c54b2aa..615927a 100644 --- a/roles/git/tasks/main.yml +++ b/roles/git/tasks/main.yml @@ -7,6 +7,7 @@ - git - cgit - uwsgi-py36 + - highlight - name: check user group existence command: pw groupshow {{ git.user.name }} @@ -118,6 +119,12 @@ dest: "{{ git.cgit.root }}/cgitrc" notify: restart-cgit +- name: cgit - copy scripts + copy: + src: cgit/syntax-highlighting.sh + dest: "{{ git.cgit.root }}/syntax-highlighting.sh" + mode: 0755 + - name: cgit - create static repo become_user: "{{ git.user.name }}" command: > -- cgit v1.2.2