Anton Shestakov <av6@dwimlabs.net>, Mon, 28 Sep 2020 11:31:48 +0800
hgweb: run on Python 3
roles/hgweb/tasks/main.yml
Permissions: -rw-r--r--
- python3-pygments # for hightlight extension - include: appinstall.yml become_user: '{{ hgweb_user }}' src: etc/uwsgi/apps-available/hgweb.yaml dest: /etc/uwsgi/apps-available/hgweb.yaml src: /etc/uwsgi/apps-available/hgweb.yaml dest: /etc/uwsgi/apps-enabled/50-hgweb.yaml - name: Add {{ hgweb_subdomain }}.{{ hostname }} Lighttpd site src: etc/lighttpd/conf-available/hgweb.conf dest: /etc/lighttpd/conf-available/{{ hgweb_subdomain }}.{{ hostname }}.conf - name: Enable {{ hgweb_subdomain }}.{{ hostname }} Lighttpd site src: /etc/lighttpd/conf-available/{{ hgweb_subdomain }}.{{ hostname }}.conf dest: /etc/lighttpd/conf-enabled/50-{{ hgweb_subdomain }}.{{ hostname }}.conf