You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,31 +1,33 @@
1
1
# Changelog
2
2
3
-
## 0.3.0 (Unreleased)
3
+
## 0.3.0 (November 17, 2020)
4
4
5
5
BREAKING CHANGES:
6
6
7
-
*The default port of the status module is now 8080 and matches the CI molecule test which already used it. Set ```nginx_config_status_port```to another desired value.
7
+
The default port of the status module is now 8080 and matches the CI molecule test which already used it. Set `nginx_config_status_port`to another desired value.
8
8
9
9
ENHANCEMENTS:
10
10
11
11
* Add survey to README.
12
12
* Improve README structure and use tables where relevant.
13
13
* Update Ansible (now Ansible base) to `2.10.3`, Ansible (now Ansible Community Distribution) to `2.10.3`, Ansible Lint to `4.3.7`, Molecule to `3.1.5`, and yamllint to `1.25.0`.
14
+
* Improve templating of stub status and REST API config.
14
15
15
16
BUG FIXES:
16
17
17
18
* Prevent TravisCI from trying to build (and failing) NGINX Plus images on external PRs.
18
-
* Fix naming for SELinux Ansible facts.
19
+
* Fix naming for SELinux facts dictionary.
19
20
* Correctly import `app_protect` global directives in template.
20
21
* Role now runs correctly when using Ansible's check mode.
22
+
* Fix issue with access log in stub status and REST API config template not being properly parsed.
21
23
22
24
## 0.2.0 (September 24, 2020)
23
25
24
26
BREAKING CHANGES:
25
27
26
-
*The process to configure modules has changed. Instead of manually setting the modules you want to install to `true` or `false`, you will now have to use either:
27
-
* A newly introduced top level list variable, `nginx_config_modules`.
28
-
* A newly introduced list variable within your main NGINX config template, `nginx_config_main_template.modules`.
28
+
The process to configure modules has changed. Instead of manually setting the modules you want to install to `true` or `false`, you will now have to use either:
29
+
* A newly introduced top level list variable, `nginx_config_modules`.
30
+
* A newly introduced list variable within your main NGINX config template, `nginx_config_main_template.modules`.
29
31
30
32
Make sure you only use one variable or the other, since they will overwrite each other. This change will simplify adding future supported modules to this role, and allows you to include any external modules you may wish in your NGINX config.
31
33
@@ -49,7 +51,7 @@ ENHANCEMENTS:
49
51
50
52
BUG FIXES:
51
53
52
-
*An empty `nginx_config_cleanup_files` will no longer cause `nginx_config_cleanup` related tasks to fail.
54
+
An empty `nginx_config_cleanup_files` will no longer cause `nginx_config_cleanup` related tasks to fail.
access_log{{ ' off' if not nginx_config_rest_api_access_log }}{{ (' ' + nginx_config_rest_api_access_log.location) if nginx_config_rest_api_access_log.location is defined }}{{ (' ' + nginx_config_rest_api_access_log.name) if nginx_config_status_rest_api_log.name is defined }};
7
+
{%endif%}
6
8
location /api {
7
-
{%ifnginx_config_rest_api_write%}
8
-
api write=on;
9
-
{%else%}
10
-
api;
9
+
{%ifnginx_config_rest_api_writeisdefined%}
10
+
api{{ ' write=on' if nginx_config_rest_api_write }};
access_log{{ ' off' if not nginx_config_status_access_log }}{{ (' ' + nginx_config_status_access_log.location) if nginx_config_status_access_log.location is defined }}{{ (' ' + nginx_config_status_access_log.name) if nginx_config_status_access_log.name is defined }};
0 commit comments