Anton Shestakov <av6@dwimlabs.net>, Sun, 27 Sep 2020 19:37:59 +0800
playbook: update apt parameters in pre_tasks
roles/hgweb/tasks/main.yml
Permissions: -rw-r--r--
- include: appinstall.yml become_user: '{{ hgweb_user }}' - name: Add supervisor app src: etc/supervisor/conf.d/hgweb.conf dest: /etc/supervisor/conf.d/hgweb.conf - name: Add {{ hgweb_subdomain }}.{{ hostname }} Nginx site src: etc/nginx/sites-available/hgweb dest: /etc/nginx/sites-available/{{ hgweb_subdomain }}.{{ hostname }} - name: Enable {{ hgweb_subdomain }}.{{ hostname }} Nginx site src: /etc/nginx/sites-available/{{ hgweb_subdomain }}.{{ hostname }} dest: /etc/nginx/sites-enabled/50{{ hgweb_subdomain }}.{{ hostname }}