--- /dev/null
+Install gitweb.
--- /dev/null
+$projectroot = "/home/phd/Internet/WWW/htdocs/git.phdru.name";
+$default_text_plain_charset = "koi8-r";
+$fallback_encoding = "koi8-r";
--- /dev/null
+dependencies: ['debian/apache']
--- /dev/null
+- name: Install gitweb
+ become: true
+ local_action:
+ module: apt
+ autoclean: yes
+ autoremove: yes
+ cache_valid_time: 3600
+ install_recommends: no
+ name: gitweb
+ state: latest
+ update_cache: yes
+
+- name: Setup gitweb
+ become: true
+ copy:
+ src: git.phdru.name.perl
+ dest: /etc/apache2/sites-available
+ owner: root
+ group: root
+ directory_mode: '0755'
+ mode: '0644'
+