All Projects → geerlingguy → ansible-role-passenger

geerlingguy / ansible-role-passenger

Licence: MIT license
Ansible Role - Passenger with Nginx

Programming Languages

Jinja
831 projects

Projects that are alternatives of or similar to ansible-role-passenger

ansible-role-php-pecl
Ansible Role - PHP PECL extension
Stars: ✭ 29 (+11.54%)
Mutual labels:  role
40ansible
Ansible modules and examples for Fortinet products using the REST API
Stars: ✭ 77 (+196.15%)
Mutual labels:  role
reaction-light
Easy to use reaction role Discord bot written in Python.
Stars: ✭ 108 (+315.38%)
Mutual labels:  role
ansible-role-github-users
Ansible Role - GitHub Users
Stars: ✭ 49 (+88.46%)
Mutual labels:  role
ansible-concourse
An ansible role to manage Concourse CI
Stars: ✭ 22 (-15.38%)
Mutual labels:  role
ansible-role-mysql
Ansible Role - MySQL and MariaDB
Stars: ✭ 28 (+7.69%)
Mutual labels:  role
Ansible Role Kubernetes
Ansible Role - Kubernetes
Stars: ✭ 247 (+850%)
Mutual labels:  role
ansible-role-phpmyadmin
Ansible Role - phpMyAdmin
Stars: ✭ 40 (+53.85%)
Mutual labels:  role
ansible-role-backup
Ansible Role - Backup for simple servers
Stars: ✭ 122 (+369.23%)
Mutual labels:  role
ng2-acl
Role based permissions for Angular v2++
Stars: ✭ 15 (-42.31%)
Mutual labels:  role
discord-reaction-role-bot
A Discord bot that allows users to self-assign roles using reactions.
Stars: ✭ 110 (+323.08%)
Mutual labels:  role
ansible-role-gogs
DEPRECATED Ansible Role - Gogs: Go Git Service
Stars: ✭ 27 (+3.85%)
Mutual labels:  role
ansible-role-php-redis
Ansible Role - PhpRedis
Stars: ✭ 15 (-42.31%)
Mutual labels:  role
ansible-role-pimpmylog
DEPRECATED Ansible Role - Pimp my Log
Stars: ✭ 14 (-46.15%)
Mutual labels:  role
aarbac
An Automated Role Based Access Control .NET framework with T-SQL Query Parser which automatically parse select, insert, update, delete queries based on the logged in user role
Stars: ✭ 18 (-30.77%)
Mutual labels:  role
Rbac
Hierarchical Role-Based Access Control for Node.js
Stars: ✭ 254 (+876.92%)
Mutual labels:  role
ansible-role-raspberry-pi
Configures a Raspberry Pi (running Raspbian).
Stars: ✭ 90 (+246.15%)
Mutual labels:  role
ansible-role-drupal
Ansible Role - Drupal
Stars: ✭ 80 (+207.69%)
Mutual labels:  role
objection-authorize
isomorphic, "magical" authorization integration with Objection.js 🎉
Stars: ✭ 71 (+173.08%)
Mutual labels:  role
aoscx-ansible-role
Ansible roles for AOS-CX switches
Stars: ✭ 15 (-42.31%)
Mutual labels:  role

Ansible Role: Passenger

CI

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].