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
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
1
# Changelog
2
2
3
-
## 0.21.4 (Unreleased)
3
+
## 0.22.0 (Unreleased)
4
+
5
+
BREAKING CHANGES:
6
+
7
+
* The `nginx_state` variable has been replaced with `nginx_setup` and instead of using `present`, `absent`, `latest` you should now use `install`, `uninstall` and `upgrade`.
8
+
*`nginx_install` variable is no more. Use `nginx_enable` instead.
4
9
5
10
FEATURES:
6
11
@@ -12,7 +17,8 @@ Add Alpine Linux 3.15 to list of tested and supported platforms.
12
17
13
18
BUG FIXES:
14
19
15
-
When building NGINX from source, the original source FTP repository `ftp.pcre.org` is not available anymore, according to <http://pcre.org>. The FTP repository has been updated to use `ftp.exim.org` instead.
20
+
* When building NGINX from source, the original source FTP repository `ftp.pcre.org` is not available anymore, according to <http://pcre.org>. The FTP repository has been updated to use `ftp.exim.org` instead.
21
+
* Uninstalling NGINX should now work correctly under most scenarios.
16
22
17
23
## 0.21.3 (October 25, 2021)
18
24
@@ -217,7 +223,7 @@ FEATURES:
217
223
* A new variable has been introduced:
218
224
* `nginx_setup_license` -- Determine whether you want to use this role to upload your NGINX license to your target host.
219
225
* The role will now fail automatically if you try to deploy NGINX from an official repository in an unsupported distribution. You can find a list of supported distributions for NGINX and NGINX Plus in [`vars/main.yml`](https://github.com/nginxinc/ansible-role-nginx/blob/main/vars/main.yml)
220
-
* Three new tags have been introduced -- `nginx_setup_license`, `nginx_install` and `nginx_check_support`.
226
+
* Three new tags have been introduced -- `nginx_setup_license`, `nginx_enable` and `nginx_check_support`.
221
227
* Add Alpine 3.12 to the list of supported platforms.
222
228
* Remove Alpine 3.8 from the list of supported platforms.
223
229
* Add NGINX Plus tests to TravisCI
@@ -301,7 +307,7 @@ FEATURES:
301
307
* Add support to configure logrotate.
302
308
* Add support for Ubuntu Focal.
303
309
* Add support to configure SELinux.
304
-
* Two new variables have been introduced -- `nginx_install` and `nginx_configure` -- to let you choose whether you want to install NGINX, configure NGINX, or both.
310
+
* Two new variables have been introduced -- `nginx_enable` and `nginx_configure` -- to let you choose whether you want to install NGINX, configure NGINX, or both.
Copy file name to clipboardExpand all lines: defaults/main/main.yml
+12-16Lines changed: 12 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,8 @@
1
1
---
2
-
# Enable NGINX options -- `nginx_install` and `nginx_configure`.
3
-
# Default is true.
4
-
nginx_enable: true
5
-
6
-
# Install NGINX and NGINX modules.
2
+
# Enable NGINX and NGINX modules.
7
3
# Variables for these options can be found below.
8
4
# Default is true.
9
-
nginx_install: true
10
-
11
-
# Start NGINX service.
12
-
# Default is true.
13
-
nginx_start: true
5
+
nginx_enable: true
14
6
15
7
# Print NGINX configuration file to terminal after executing playbook.
16
8
nginx_debug_output: false
@@ -26,13 +18,17 @@ nginx_type: opensource
26
18
# For NGINX Plus and modules you'll need a wilcard like below (which installs plus-20 and modules)
27
19
# nginx_version: "-20*"
28
20
21
+
# Start NGINX service.
22
+
# Default is true.
23
+
nginx_start: true
24
+
29
25
# Specify whether you want to maintain your version of NGINX, upgrade to the latest version, or remove NGINX.
30
-
# Can be used with `nginx_version` to fine tune control on which version of NGINX is installed/used on each playbook execution.
31
-
# Using 'present' will install the latest version (or 'nginx_version') of NGINX on a fresh install.
32
-
# Using 'latest' will upgrade NGINX to the latest version (that matches your 'nginx_version') of NGINX on every playbook execution.
33
-
# Using 'absent' will remove NGINX from your system.
34
-
# Default is present.
35
-
nginx_state: present
26
+
# Can be used with `nginx_version` to fine tune control which version of NGINX is installed/used on each playbook execution.
27
+
# Using 'install' will install the latest version (or 'nginx_version') of NGINX on a fresh install.
28
+
# Using 'upgrade' will upgrade NGINX to the latest version (that matches your 'nginx_version') of NGINX on every playbook execution. Does not work on Alpine Linux.
29
+
# Using 'uninstall' will remove NGINX from your system.
30
+
# Default is install.
31
+
nginx_setup: install
36
32
37
33
# Specify whether or not you want to manage the NGINX repositories.
0 commit comments