]> git.phdru.name Git - ansible.git/blob - playbooks/roles/debian/gitweb/tasks/main.yml
Feat(debian/gitweb): Install and configure `gitweb`
[ansible.git] / playbooks / roles / debian / gitweb / tasks / main.yml
1 - name: Install gitweb
2   become: true
3   local_action:
4     module: apt
5     autoclean: yes
6     autoremove: yes
7     cache_valid_time: 3600
8     install_recommends: no
9     name: gitweb
10     state: latest
11     update_cache: yes
12
13 - name: Setup gitweb
14   become: true
15   copy:
16     src: git.phdru.name.perl
17     dest: /etc/apache2/sites-available
18     owner: root
19     group: root
20     directory_mode: '0755'
21     mode: '0644'
22