Add minor tweaks to documentation and role meta-data based on publishing role to Ansible Galaxy.
This commit is contained in:
parent
065463865f
commit
0783d384b8
|
@ -1,4 +1,4 @@
|
||||||
ansible-nginx-uwsgi-supervisor
|
Ansible nginx-uwsgi-supervisor
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
An Ansible role to setup and manage a UWSGI app via supervisor, and served up on a NGINX web server. The goal of this
|
An Ansible role to setup and manage a UWSGI app via supervisor, and served up on a NGINX web server. The goal of this
|
||||||
|
@ -27,7 +27,7 @@ into sections and described below:
|
||||||
- Used as a prefix through out the role.
|
- Used as a prefix through out the role.
|
||||||
- app_root_path:
|
- app_root_path:
|
||||||
- The path to the root folder of the app.
|
- The path to the root folder of the app.
|
||||||
- Default: {{ web_root_path }}/{{ app_name }}_webapp"
|
- Default: web_root_path/app_name_webapp
|
||||||
|
|
||||||
### NGINX
|
### NGINX
|
||||||
|
|
||||||
|
@ -103,13 +103,13 @@ app_name, nginx_hostname and uwsgi_app_executable parameters especially.
|
||||||
sudo: yes
|
sudo: yes
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- { role: ansible-nginx-uwsgi-supervisor,
|
- { role: nginx-uwsgi-supervisor,
|
||||||
app_name: app,
|
app_name: app,
|
||||||
app_nginx_hostname: app.domain.net,
|
app_nginx_hostname: app.domain.net,
|
||||||
app_uwsgi_port: 8080,
|
app_uwsgi_port: 8080,
|
||||||
app_uwsgi_executable: "app.build:make_wsgi_app()" }
|
app_uwsgi_executable: "app.build:make_wsgi_app()" }
|
||||||
|
|
||||||
A comprehensive example can be found in the [ansible-rookeries role]
|
A comprehensive example can be found in the [Ansible rookeries role]
|
||||||
(https://bitbucket.org/dorianpula/ansible-rookeries) that uses this role as a base to deploy a Flask-based webapp.
|
(https://bitbucket.org/dorianpula/ansible-rookeries) that uses this role as a base to deploy a Flask-based webapp.
|
||||||
|
|
||||||
Default File Structure
|
Default File Structure
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Dorian Pula
|
author: Dorian Pula
|
||||||
description: Elegant NGINX, UWSGI and supervisor role
|
description: An elegant NGINX, UWSGI and supervisor Ansible role
|
||||||
company: Amber Penguin Software
|
company: Amber Penguin Software
|
||||||
license: BSD
|
license: BSD
|
||||||
min_ansible_version: 1.6
|
min_ansible_version: 1.6
|
||||||
|
|
Loading…
Reference in New Issue