Anton Shestakov <av6@dwimlabs.net>, Tue, 17 Jul 2018 13:17:59 +0800
playbook, hgweb role
roles/hgweb/tasks/main.yml
Permissions: -rw-r--r--
- python-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