From 0783d384b8115232809dc40626571345a57747e5 Mon Sep 17 00:00:00 2001 From: Dorian Pula Date: Thu, 22 Jan 2015 18:57:51 -0500 Subject: [PATCH] Add minor tweaks to documentation and role meta-data based on publishing role to Ansible Galaxy. --- README.md | 8 ++++---- meta/main.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bbf8303..4f663b1 100644 --- a/README.md +++ b/README.md @@ -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 @@ -27,7 +27,7 @@ into sections and described below: - Used as a prefix through out the role. - app_root_path: - The path to the root folder of the app. - - Default: {{ web_root_path }}/{{ app_name }}_webapp" + - Default: web_root_path/app_name_webapp ### NGINX @@ -103,13 +103,13 @@ app_name, nginx_hostname and uwsgi_app_executable parameters especially. sudo: yes roles: - - { role: ansible-nginx-uwsgi-supervisor, + - { role: nginx-uwsgi-supervisor, app_name: app, app_nginx_hostname: app.domain.net, app_uwsgi_port: 8080, 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. Default File Structure diff --git a/meta/main.yml b/meta/main.yml index 3fc20ab..8485fc8 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,7 +1,7 @@ --- galaxy_info: author: Dorian Pula - description: Elegant NGINX, UWSGI and supervisor role + description: An elegant NGINX, UWSGI and supervisor Ansible role company: Amber Penguin Software license: BSD min_ansible_version: 1.6