Update branding

This commit is contained in:
Alessandro Fael Garcia 2018-04-12 10:20:39 -07:00
parent 9c80941892
commit 9555ab9559
9 changed files with 17 additions and 17 deletions

View File

@ -4,7 +4,7 @@ Ansible NGINX Role
[![Ansible Galaxy](https://img.shields.io/badge/galaxy-nginxinc.nginx-5bbdbf.svg)](https://galaxy.ansible.com/nginxinc/nginx) [![Ansible Galaxy](https://img.shields.io/badge/galaxy-nginxinc.nginx-5bbdbf.svg)](https://galaxy.ansible.com/nginxinc/nginx)
[![Build Status](https://travis-ci.org/nginxinc/ansible-role-nginx.svg?branch=master)](https://travis-ci.org/nginxinc/ansible-role-nginx) [![Build Status](https://travis-ci.org/nginxinc/ansible-role-nginx.svg?branch=master)](https://travis-ci.org/nginxinc/ansible-role-nginx)
This role installs open source NGINX or NGINX Plus on your target host. This role installs NGINX Open Source or NGINX Plus on your target host.
Requirements Requirements
------------ ------------
@ -13,9 +13,9 @@ This role was developed using Ansible 2.4.0.0. Backwards compatibility is not gu
Use `ansible-galaxy install nginxinc.nginx` to install the role on your system. Use `ansible-galaxy install nginxinc.nginx` to install the role on your system.
It supports all platforms supported by [open source NGINX](https://nginx.org/en/linux_packages.html#mainline) and [NGINX Plus](https://www.nginx.com/products/technical-specs/): It supports all platforms supported by [NGINX Open Source](https://nginx.org/en/linux_packages.html#mainline) and [NGINX Plus](https://www.nginx.com/products/technical-specs/):
**Open Source NGINX:** **NGINX Open Source:**
CentOS: CentOS:
versions: versions:
@ -84,7 +84,7 @@ This role has multiple variables. The defaults for all these variables are the f
# Default is 'opensource'. # Default is 'opensource'.
type: opensource type: opensource
# Specify which branch of Open Source NGINX you want to install. # Specify which branch of NGINX Open Source you want to install.
# Options are 'mainline' or 'stable'. # Options are 'mainline' or 'stable'.
# Default is mainline. # Default is mainline.
branch: mainline branch: mainline
@ -107,7 +107,7 @@ This role has multiple variables. The defaults for all these variables are the f
amplify_key: null amplify_key: null
# Enable NGINX status data. # Enable NGINX status data.
# Will enable 'stub_status' in open source NGINX and 'status' in NGINX Plus. # Will enable 'stub_status' in NGINX Open Source and 'status' in NGINX Plus.
# Default is false. # Default is false.
status_enable: false status_enable: false

View File

@ -4,12 +4,12 @@
# Default is 'opensource'. # Default is 'opensource'.
type: opensource type: opensource
# Specify which branch of Open Source NGINX you want to install. # Specify which branch of NGINX Open Source you want to install.
# Options are 'mainline' or 'stable'. # Options are 'mainline' or 'stable'.
# Default is mainline. # Default is mainline.
branch: mainline branch: mainline
# Install nginscript, perl, waf (NGINX Plus only), geoip, image-filter, rtmp and/or xslt modules. # Install NGINX JavaScript, Perl, ModSecurity WAF (NGINX Plus only), GeoIP, Image-Filter, RTMP Media Streaming, and/or XSLT modules.
# Default is false. # Default is false.
modules: modules:
njs: false njs: false
@ -27,7 +27,7 @@ amplify_enable: false
amplify_key: null amplify_key: null
# Enable NGINX status data. # Enable NGINX status data.
# Will enable 'stub_status' in open source NGINX and 'status' in NGINX Plus. # Will enable 'stub_status' in NGINX Open Source and 'status' in NGINX Plus.
# Default is false. # Default is false.
status_enable: false status_enable: false

View File

@ -1,5 +1,5 @@
--- ---
- name: "(Setup: Open Source NGINX) Enable Open Source NGINX Status" - name: "(Setup: NGINX Open Source) Enable NGINX Open Source Status"
blockinfile: blockinfile:
path: "{{ (http_template_enable) | ternary('/etc/nginx/conf.d/http/stub_status.conf','/etc/nginx/conf.d/stub_status.conf') }}" path: "{{ (http_template_enable) | ternary('/etc/nginx/conf.d/http/stub_status.conf','/etc/nginx/conf.d/stub_status.conf') }}"
create: yes create: yes

View File

@ -1,5 +1,5 @@
--- ---
- name: "(Install: All OSs) Install Open Source NGINX GeoIP Module" - name: "(Install: All OSs) Install NGINX Open Source GeoIP Module"
package: package:
name: nginx-geoip-perl name: nginx-geoip-perl
state: present state: present

View File

@ -1,5 +1,5 @@
--- ---
- name: "(Install: All OSs) Install Open Source NGINX Image Filter Module" - name: "(Install: All OSs) Install NGINX Open Source Image Filter Module"
package: package:
name: nginx-module-image-filter name: nginx-module-image-filter
state: present state: present

View File

@ -1,17 +1,17 @@
--- ---
- name: "(Install: All OSs) Install Open Source NGINX NJS Module" - name: "(Install: All OSs) Install NGINX Open Source JavaScript Module"
package: package:
name: nginx-module-njs name: nginx-module-njs
state: present state: present
when: type == "opensource" when: type == "opensource"
- name: "(Install: All OSs) Install NGINX Plus NJS Module" - name: "(Install: All OSs) Install NGINX Plus JavaScript Module"
package: package:
name: nginx-plus-module-njs name: nginx-plus-module-njs
state: present state: present
when: type == "plus" when: type == "plus"
- name: "(Setup: All NGINX) Load NGINX NJS Module" - name: "(Setup: All NGINX) Load NGINX JavaScript Module"
blockinfile: blockinfile:
path: /etc/nginx/nginx.conf path: /etc/nginx/nginx.conf
insertbefore: BOF insertbefore: BOF

View File

@ -1,5 +1,5 @@
--- ---
- name: "(Install: All OSs) Install Open Source NGINX Perl Module" - name: "(Install: All OSs) Install NGINX Open Source Perl Module"
package: package:
name: nginx-module-perl name: nginx-module-perl
state: present state: present

View File

@ -1,5 +1,5 @@
--- ---
- name: "(Install: All OSs) Install Open Source NGINX RTMP Module" - name: "(Install: All OSs) Install NGINX Open Source RTMP Module"
package: package:
name: nginx-module-rtmp name: nginx-module-rtmp
state: present state: present

View File

@ -1,5 +1,5 @@
--- ---
- name: "(Install: All OSs) Install Open Source NGINX XSLT Module" - name: "(Install: All OSs) Install NGINX Open Source XSLT Module"
package: package:
name: nginx-module-xslt name: nginx-module-xslt
state: present state: present