luisico.webapp
Webapp
Deploy a web application using buildpacks.
This role is designed to deploy web applications in an environment similar to PaaS (Platform as a Service) using:
- Heroku buildpacks.
- Directory structure similar to Capistrano.
- Configuration options set as environment variables.
- Systemd for managing processes.
It supports multiple buildpacks, which allows for applications that use various programming languages or require utilities written in a different language than the main application.
Requirements
Check meta/main.yml
.
Role Variables
Look at defaults/main.yml
.
Dependencies
None.
Example Playbook
Here’s an example:
- hosts: servers
roles:
- webapp
TODO
- Make the use of environment variables more general using
env.d
and Ansible'sassemble
module. - Support alternatives to systemd, such as monit, supervisor, pm2, etc.
- Fix issues with idempotency for Capistrano-like directories.
- Write documentation for defaults.
License
Released under the MIT license.
Author Information
Luis Gracia at EMBL-EBI:
Installa
ansible-galaxy install luisico.webapp
Licenza
mit
Download
260
Proprietario
Passionate DevOps Advocate