Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

GSA/datagov-deploy-apache2

Repository files navigation

CircleCI

datagov-deploy-apache2

This project is part of datagov-deploy.

Ansible role to deploy apache2 suitable for serving python-powered websites with mod_wsgi.

Usage

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.

Variables

apache2_enabled boolean (default: true)

Ensure the apache2 service is started and enabled.

apache2_ssl_certificate_file string (default: none)

File path to the TLS/SSL certificate file.

apache2_ssl_certificate_key_file string (default: none)

File path to the TLS/SSL certificate key file.

apache2_ssl_ciphers string (default: HIGH:!aNULL:!MD5)

SSL cipher string to support for mod_ssl.

apache2_ssl_versions array (default: ["TLSv1.1", "TLSv1.2"])

SSL versions to support for mod_ssl.

python_home (default: /usr)

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.

Prerequisites for development

Development

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.

About

Subsidiary repo for Apache2 deployment code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages