https://github.com/euank/openresty-playbook
A playbook for setting up the OpenResty nginx bundle on CentOS
https://github.com/euank/openresty-playbook
Last synced: 4 months ago
JSON representation
A playbook for setting up the OpenResty nginx bundle on CentOS
- Host: GitHub
- URL: https://github.com/euank/openresty-playbook
- Owner: euank
- License: unlicense
- Created: 2014-02-10T21:54:14.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-10T23:48:21.000Z (over 12 years ago)
- Last Synced: 2025-03-18T11:09:31.714Z (over 1 year ago)
- Size: 133 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
openresty-playbook
==================
A playbook role for setting up the OpenResty nginx bundle on CentOS
Tested on CentOS 6.5
Usage
=====
This isn't actually a complete playbook since it never maps hosts to roles.
However, it's basically there. The following will make it a complete one:
```
mkdir roles
git clone https://github.com/euank/openresty-playbook.git roles/openresty
```
And then create fhe file `run.yml` in the current directory (name it as you
like) with the following contents:
```
---
- hosts: openresty
sudo: true
roles:
- openresty
```
Change the `hosts` line to whatever you do name your group for openresty.
This is meant to be a reusable component to git submodule into another playbook.
Issues
------
Realistically if you wanted to install openresty on a bunch of nodes you should
create an rpm or deb or other binary package and distribute that. This is
intended for smaller projects where you don't need to worry so much about doing
it the "right" way for scale.