aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-04-18 17:19:28 +0800
committerAaron LI <aly@aaronly.me>2018-04-18 17:19:28 +0800
commit9625bb6d5996e84827140e37d5f93a0f371dc8e6 (patch)
treecf21399a89113915abe15749e4ed850fb5654e3f
parent453ece11323f34aca8288c288aced4cc2142b428 (diff)
downloadansible-dfly-vps-9625bb6d5996e84827140e37d5f93a0f371dc8e6.tar.bz2
git/cgit: copy script and install highlight
-rw-r--r--roles/git/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
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: >