Anton Shestakov <av6@dwimlabs.net>, Thu, 21 Jul 2016 17:12:00 +0800
provision: move repo url and revision to vars
provision/roles/fruitbar/tasks/appinstall.yml
Permissions: -rw-r--r--
- name: Ensure ~/webapps/ exists with world-readable permissions file: path=/home/{{ user }}/webapps/ state=directory mode=0755 copy: src=.hgrc dest=/home/{{ user }}/.hgrc dest: /home/{{ user }}/webapps/fruitbar/ revision: '{{ revision }}' pip: requirements=/home/{{ user }}/webapps/fruitbar/REQUIREMENTS virtualenv=/home/{{ user }}/webapps/fruitbar/venv/ - name: Install wsgi stuff pip: name={{ item }} state=latest virtualenv=/home/{{ user }}/webapps/fruitbar/venv/ - name: Add gunicorn config template: src=gunicorn.conf dest=/home/{{ user }}/webapps/fruitbar/gunicorn.conf