Files @ 502fdc081d35
Branch filter:

Location: majic-ansible-roles/roles/wsgi_website/templates/supervisor_site.conf.j2 - annotation

branko
MAR-32: Added initial scaffolding for testing web_server role:

- Added Molecule configuration for for bringing up a couple of instances.
- Added test playbook that sets-up test instances.
- Fixed issues with file mode in tasks (added leading 0).
- Added test data (TLS private keys and certificates).
- Added dummy test file.
[program:{{ fqdn }}]
command={{ home }}/virtualenv/bin/gunicorn --bind unix:/var/run/wsgi/{{ fqdn }}/socket {% if use_paste %}--paste{% endif %} {{ wsgi_application }}
directory={{ home }}/code
user={{ user }}
group={{ user }}
autostart=true
autorestart=true
umask=0007
redirect_stderr=true
environment=HOME="{{ home }}"