Bladeren bron

Update cgit to v1.1

* Install Python 3 pip and cgit dependencies
* Update to cgit 1.1
* Correct Ansible tag syntax for recent versions of Ansible
Óscar Nájera 7 jaren geleden
bovenliggende
commit
74fab5ba30
3 gewijzigde bestanden met toevoegingen van 11 en 6 verwijderingen
  1. 1
    1
      roles/git/defaults/main.yml
  2. 6
    3
      roles/git/tasks/cgit.yml
  3. 4
    2
      roles/git/tasks/main.yml

+ 1
- 1
roles/git/defaults/main.yml Bestand weergeven

@@ -1,3 +1,3 @@
1
-cgit_version: 0.12
1
+cgit_version: 1.1
2 2
 cgit_domain: "git.{{ domain }}"
3 3
 gitolite_version: 3.6.4

+ 6
- 3
roles/git/tasks/cgit.yml Bestand weergeven

@@ -4,15 +4,18 @@
4 4
   with_items:
5 5
     - groff
6 6
     - libssl-dev
7
-    - python-pip
7
+    - python3-pip
8 8
   tags:
9 9
     - dependencies
10 10
 
11
-- name: Install cgit pip dependencies
12
-  pip: name={{ item }}
11
+- name: Install cgit pip dependencies python 3
12
+  pip:
13
+    name: "{{ item }}"
14
+    executable: pip3
13 15
   with_items:
14 16
     - docutils
15 17
     - pygments
18
+    - markdown
16 19
 
17 20
 - name: Download cgit release
18 21
   get_url: url=http://git.zx2c4.com/cgit/snapshot/cgit-{{ cgit_version }}.tar.xz

+ 4
- 2
roles/git/tasks/main.yml Bestand weergeven

@@ -1,2 +1,4 @@
1
-- include: gitolite.yml tags=gitolite
2
-- include: cgit.yml tags=cgit
1
+- include: gitolite.yml
2
+  tags: gitolite
3
+- include: cgit.yml
4
+  tags: cgit

Laden…
Annuleren
Opslaan