forked from gergely/calendar-social
24 lines
459 B
YAML
24 lines
459 B
YAML
---
|
|
|
|
- name: Configuration for local development on Vagrant
|
|
hosts: all
|
|
become: yes
|
|
vars:
|
|
user_name: vagrant
|
|
group_name: vagrant
|
|
|
|
roles:
|
|
- common
|
|
- python
|
|
- role: gunicorn
|
|
autostart: false
|
|
enabled: false
|
|
- role: nginx
|
|
use_ssl: false
|
|
enabled: false
|
|
|
|
tasks:
|
|
- name: Allow virtualenv python to bind to port 80
|
|
command: setcap cap_net_bind_service=ep /usr/bin/python3.6
|
|
changed_when: false
|