Role Detail

geerlingguy.passenger

Passenger installation for Linux/UNIX.
Downloads
1569
Type Ansible
Minimum Ansible Version 1.8
Installation $ ansible-galaxy install geerlingguy.passenger
Tags
development
web
Last Commit 2017-04-02 04:38:04 AM UTC
Last Imported 2017-04-02 05:49:05 AM UTC
Version History
Version Release Date
1.1.1 2016-09-14 19:54:07 PM
1.1.0 2016-03-05 17:16:05 PM
1.0.2 2015-02-05 21:21:09 PM
1.0.1 2015-02-05 18:01:06 PM
1.0.0 2015-02-05 17:30:05 PM
Supported Platforms
Platform Version
Debian etch
Debian jessie
Debian lenny
Debian sid
Debian squeeze
Debian stretch
Debian wheezy
Ubuntu lucid
Ubuntu maverick
Ubuntu natty
Ubuntu oneiric
Ubuntu precise
Ubuntu quantal
Ubuntu raring
Ubuntu saucy
Ubuntu trusty
Ubuntu utopic
Ubuntu vivid
Ubuntu wily
Ubuntu xenial
Ubuntu yakkety
Last 10 Imports
Completed Status
2017-04-02 05:49:05 AM UTC SUCCESS
2017-01-22 03:42:03 AM UTC SUCCESS
2016-11-23 16:06:04 PM UTC SUCCESS
2016-11-02 20:21:08 PM UTC SUCCESS
2016-09-25 22:27:10 PM UTC SUCCESS
2016-09-24 19:46:07 PM UTC SUCCESS
2016-09-14 20:32:08 PM UTC SUCCESS
2016-09-14 20:03:08 PM UTC SUCCESS
2016-09-14 20:01:08 PM UTC SUCCESS
2016-09-14 19:39:07 PM UTC SUCCESS

Ansible Role: Passenger

Build Status

Installs Passenger (with Nginx) on RedHat/CentOS (soon) or Debian/Ubuntu linux servers.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

passenger_server_name: www.example.com

The server name (used in the Nginx virtual host configuration).

passenger_app_root: /opt/example/public

The passenger_root for your application (e.g. the public folder in a rails app).

passenger_app_env: production

The app environment passenger will load.

passenger_root: /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini
passenger_ruby: /usr/bin/ruby

Values for passenger configuration directives inside nginx.conf. These defaults should generally work correctly, but if you build ruby on its own (as an example), the path to ruby may be different.

nginx_worker_processes: "{{ ansible_processor_vcpus | default(ansible_processor_count) }}"
nginx_worker_connections: "768"
nginx_keepalive_timeout: "65"
nginx_remove_default_vhost: true

Nginx directives.

Dependencies

None.

Example Playbook

- hosts: server
  roles:
    - { role: geerlingguy.passenger }

License

MIT / BSD

Author Information

This role was created in 2015 by Jeff Geerling, author of Ansible for DevOps.

None