ChengLong.nginx-passenger
nginx-passenger
Ansible role for installing nginx with passenger on Debian/Ubuntu. It does the following:
- Remove apache2, nginx and passenger
- Install Passenger PGP key
- Add HTTPS support for apt
- Add passenger source to /etc/apt/sources.list.d/ depending on distro
- apt-get update
- Install nginx-extras and passenger
- Set passenger_root and passenger_ruby
- Restart nginx
This role ONLY ensures that nginx and passenger are installed and configed correctly. You need to config nginx to deploy your app.
Requirements
- You should have ruby installed at
/usr/bin/ruby.passenger_rubywill point to/usr/bin/ruby - You need
sudo: yesto play the role.
Role Variables
NONE
Dependencies
NONE
Example Playbook
- hosts: servers
sudo: yes
roles:
- role: ChengLong.nginx-passenger
License
WTFPL
Author Information
Install
ansible-galaxy install ChengLong.nginx-passengerLicense
Unknown
Downloads
64
Owner
