blob: f6e12f91ebe827093a7fdbd4c3e51a617aa04b53 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
- name: Install cgit
ansible.builtin.package:
name:
- cgit
state: present
- name: Configure cgit for git.ilvokhin.com
ansible.builtin.copy:
src: files/cgitrc
dest: /etc/cgitrc
owner: root
group: root
mode: u+rw,g+r,o+r
- name: Copy nginx for cgit
ansible.builtin.copy:
src: files/cgit.conf
dest: /etc/nginx/includes/cgit.conf
owner: root
group: root
mode: u+rw,g+rw,o+r
notify:
- Reload nginx
- name: Remove cgit favicon.ico file
ansible.builtin.file:
path: /usr/share/webapps/cgit/favicon.ico
state: absent
|