Skip to content

Commit 0edd6e2

Browse files
committed
Readme changes (#27)
1 parent 879d44a commit 0edd6e2

File tree

8 files changed

+8
-37
lines changed

8 files changed

+8
-37
lines changed

CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 0.2.0 (September 22, 2020)
3+
## 0.2.0 (September 24, 2020)
44

55
BREAKING CHANGES:
66

@@ -13,8 +13,6 @@ Make sure you only use one variable or the other, since they will overwrite each
1313
FEATURES:
1414

1515
* Support for all NGINX App Protect directives has been added. You can find details on the supported directives on `defaults/main/template.yml`. This is the first module to be included using J2 macros. Expect to slowly see a refactor of various modules to use macros where possible.
16-
* A new variable has been introduced:
17-
* `nginx_debug_tasks` -- Print task related information to give you a better insight into the current progress of the role.
1816
* Add Alpine `3.12` to the list of supported platforms.
1917
* Remove Alpine `3.8` from the list of supported platforms .
2018
* Add NGINX Plus tests to TravisCI

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Ansible NGINX Role
2-
==================
1+
Ansible NGINX Configuration Role
2+
================================
33

44
This role configures NGINX Open Source and NGINX Plus on your target host.
55

@@ -145,4 +145,4 @@ Author Information
145145

146146
[Alessandro Fael Garcia](https://github.com/alessfg)
147147

148-
© [NGINX, Inc.](https://www.nginx.com/) 2020
148+
© [F5 Networks, Inc.](https://www.f5.com/) 2020
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
roles:
33
- name: nginxinc.nginx
4-
version: 0.17.1
4+
version: 0.17.2

molecule/common/playbooks/plus_prepare.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@
3434
include_role:
3535
name: nginxinc.nginx_app_protect
3636
vars:
37-
nginx_app_protect_license:
38-
certificate: ../files/license/nginx-repo.crt
39-
key: ../files/license/nginx-repo.key
4037
nginx_app_protect_setup_license: false
4138
nginx_app_protect_remove_license: false
4239
nginx_app_protect_install_signatures: false
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
roles:
33
- name: nginxinc.nginx
4-
version: 0.17.1
4+
version: 0.17.2
55
- name: nginxinc.nginx_app_protect
66
version: 0.3.1

molecule/default/converge.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,8 @@
4343
keyval: false
4444
server_tokens: "off"
4545
sub_filter:
46-
# sub_filters: []
4746
last_modified: "off"
4847
once: "on"
49-
# types: "text/html"
5048
http_global_autoindex: false
5149
custom_options:
5250
- master_process on;
@@ -109,11 +107,8 @@
109107
value: max-age=15768000; includeSubDomains
110108
always: true
111109
sub_filter:
112-
# sub_filters: []
113110
last_modified: "off"
114111
once: "on"
115-
# types: "text/html"
116-
# custom_options: []
117112
reverse_proxy:
118113
locations:
119114
frontend:
@@ -166,10 +161,8 @@
166161
proxy_buffering: false
167162
client_max_body_size: 5m
168163
sub_filter:
169-
# sub_filters: []
170164
last_modified: "off"
171165
once: "on"
172-
# types: "text/html"
173166
backend:
174167
location: /backend
175168
proxy_pass: http://backend_servers/
@@ -296,7 +289,6 @@
296289
- "'proxied_for_ip' '$http_x_forwarded_for'"
297290
last_modified: "off"
298291
once: "off"
299-
# types: "text/html"
300292
web_server:
301293
locations:
302294
frontend_site:
@@ -307,10 +299,8 @@
307299
html_file_name: frontend_index.html
308300
autoindex: false
309301
sub_filter:
310-
# sub_filters: []
311302
last_modified: "off"
312303
once: "off"
313-
# types: "text/html"
314304
http_demo_conf: false
315305
backend:
316306
template_file: http/default.conf.j2
@@ -339,7 +329,6 @@
339329
- "'proxied_for_ip' '$http_x_forwarded_for'"
340330
last_modified: "off"
341331
once: "off"
342-
# types: "text/html"
343332
web_server:
344333
locations:
345334
backend_site:
@@ -362,11 +351,10 @@
362351
- include fastcgi_params;
363352
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
364353
sub_filter:
365-
# sub_filters: []
366354
last_modified: "off"
367355
once: "off"
368-
# types: "text/html"
369356
http_demo_conf: false
357+
370358
nginx_config_html_demo_template_enable: true
371359
nginx_config_html_demo_template:
372360
frontend:

molecule/plus/converge.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@
5050
keyval: false
5151
server_tokens: "off"
5252
sub_filter:
53-
# sub_filters: []
5453
last_modified: "off"
5554
once: "on"
56-
# types: "text/html"
5755
http_global_autoindex: false
5856
custom_options:
5957
- master_process on;
@@ -119,11 +117,8 @@
119117
value: max-age=15768000; includeSubDomains
120118
always: true
121119
sub_filter:
122-
# sub_filters: []
123120
last_modified: "off"
124121
once: "on"
125-
# types: "text/html"
126-
# custom_options: []
127122
reverse_proxy:
128123
locations:
129124
frontend:
@@ -179,10 +174,8 @@
179174
proxy_buffering: false
180175
client_max_body_size: 5m
181176
sub_filter:
182-
# sub_filters: []
183177
last_modified: "off"
184178
once: "on"
185-
# types: "text/html"
186179
backend:
187180
location: /backend
188181
proxy_pass: http://backend_servers/
@@ -320,10 +313,8 @@
320313
html_file_name: frontend_index.html
321314
autoindex: false
322315
sub_filter:
323-
# sub_filters: []
324316
last_modified: "off"
325317
once: "off"
326-
# types: "text/html"
327318
http_demo_conf: false
328319
backend:
329320
template_file: http/default.conf.j2
@@ -352,7 +343,6 @@
352343
- "'proxied_for_ip' '$http_x_forwarded_for'"
353344
last_modified: "off"
354345
once: "off"
355-
# types: "text/html"
356346
web_server:
357347
locations:
358348
backend_site:
@@ -375,10 +365,8 @@
375365
- include fastcgi_params;
376366
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
377367
sub_filter:
378-
# sub_filters: []
379368
last_modified: "off"
380369
once: "off"
381-
# types: "text/html"
382370
http_demo_conf: false
383371
nginx_config_html_demo_template_enable: true
384372
nginx_config_html_demo_template:

templates/http/default.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ upstream {{ item.value.upstreams[upstream].name }} {
1212
{% for server in item.value.upstreams[upstream].servers %}
1313
server {{ item.value.upstreams[upstream].servers[server].address }}{{(":" + item.value.upstreams[upstream].servers[server].port | string) if item.value.upstreams[upstream].servers[server].port is defined}} {% if item.value.upstreams[upstream].servers[server].down is defined and item.value.upstreams[upstream].servers[server].down %}down{% else %}weight={{ item.value.upstreams[upstream].servers[server].weight | default("1") }} {{ item.value.upstreams[upstream].servers[server].health_check | default("") }}{% endif %};
1414
{% endfor %}
15-
{% if item.value.upstreams[upstream].sticky_cookie %}
15+
{% if item.value.upstreams[upstream].sticky_cookie is defined and item.value.upstreams[upstream].sticky_cookie %}
1616
sticky cookie srv_id expires=1h path=/;
1717
{% endif %}
1818
{% if item.value.upstreams[upstream].custom_options is defined and item.value.upstreams[upstream].custom_options | length %}

0 commit comments

Comments
 (0)