Anton Shestakov <av6@dwimlabs.net>, Sun, 27 Sep 2020 19:00:21 +0800
hgweb: run on Python 3
roles/hgweb/tasks/appinstall.yml
Permissions: -rw-r--r--
- name: Ensure required directories exist path: /home/{{ hgweb_user }}/{{ item }}/ - name: Pull Mercurial {{ hgweb_mercurial_rev }} repo: '{{ hgweb_mercurial_url }}' dest: /home/{{ hgweb_user }}/hg/ revision: '{{ hgweb_mercurial_rev }}' - name: Pull Evolve {{ hgweb_evolve_rev }} repo: '{{ hgweb_evolve_url }}' dest: /home/{{ hgweb_user }}/evolve/ revision: '{{ hgweb_evolve_rev }}' dest: /home/{{ hgweb_user }}/hgwebfiles/{{ item }} dest: /home/{{ hgweb_user }}/hgwebfiles/robots.txt - name: Copy requirements.txt dest: /home/{{ hgweb_user }}/hgwebfiles/requirements.txt - name: Set up venv for gunicorn requirements: /home/{{ hgweb_user }}/hgwebfiles/requirements.txt virtualenv: /home/{{ hgweb_user }}/hgwebfiles/venv/ virtualenv_python: python3