An open API service indexing awesome lists of open source software.

https://github.com/zaiste/ansible-passenger

Ansible role that installs Phusion Passenger for Debian/Ubuntu using the official APT.
https://github.com/zaiste/ansible-passenger

ansible ansible-role installs-phusion-passenger phusion-passenger rails ubuntu ubuntu-bionic

Last synced: about 1 month ago
JSON representation

Ansible role that installs Phusion Passenger for Debian/Ubuntu using the official APT.

Awesome Lists containing this project

README

          

# ansible-passenger

[![Ansible Galaxy](https://img.shields.io/badge/galaxy-zaiste.passenger-2993bd.svg?style=for-the-badge)](https://galaxy.ansible.com/zaiste/passenger/)

Simple, no fluff Ansible role that installs Phusion Passenger for Ubuntu from the official APT.

## Requirements

None.

## Role Variables

- `dist` defaults to `bionic`
- `nginx` defaults to `core`

- `nginx_worker_connections` defaults to `768`;
- `nginx_keepalive_timeout` defaults to `65`;
- `nginx_server_names_hash_bucket_size` defaults to `64`;
- `nginx_server_name` defaults to `app.example.com`

- `passenger_app_env` defaults to `production`
- `passenger_app_root` defaults to `/srv/app/public`
- `passenger_app_vars` is a list of `name` and `value` pairs

## Dependencies

None.

## Example Playbook

```
- hosts: servers
roles:
- role: zaiste.passenger
nginx: extras
passenger_app_vars:
- name: RAILS_ENV
value: production
```

## Author Information

[Zaiste](http://zaiste.net) 2018