This project is part of datagov-deploy.
Ansible role to deploy apache2 suitable for serving python-powered websites with
mod_wsgi
.
Include this role in your requirements.yml
.
- src: https://github.com/gsa/datagov-deploy-apache2.git
This role does not install any sites. You should copy your own site config files
and enable them with a2ensite
.
Ensure the apache2 service is started and enabled.
File path to the TLS/SSL certificate file.
File path to the TLS/SSL certificate key file.
SSL cipher string to support for mod_ssl.
SSL versions to support for mod_ssl.
The prefix path to where python is installed. If you installed your own version
of python, you might want to specify /usr/local
or the path to your
virtualenv.
Install dependencies.
$ pipenv install --dev
Run the tests.
$ pipenv run molecule test --all
Run a scenario playbook with molecule e.g. ssl.
$ pipenv run molecule converge -s ssl
For more information on how to use Molecule for development, see our wiki.