Releases: nginxinc/ansible-role-nginx-config
Releases · nginxinc/ansible-role-nginx-config
0.3.2
ENHANCEMENTS:
- The GitHub actions Molecule CI/CD workflow is no longer run on a new release (this is not necessary since it already runs on every push).
- The GitHub actions Molecule CI/CD workflow should now correctly avoid running 'Plus' related tests on external PRs.
- The
cleanup-config.yml
playbook has been slightly refactored and simplified. - Update Ansible base to
2.10.4
, Ansible to2.10.5
, Molecule to3.2.2
and Docker Python SDK to4.4.1
. - Update copyright notice.
0.3.1
ENHANCEMENTS:
- Update Molecule to
3.2.1
and Docker Python SDK to4.4.0
. - Replace TravisCI with GitHub actions.
BUG FIXES:
- Switch to explicit boolean values in
sub_filter
defaults forlast_modified
andsince
innginx_config_main_template
."on"
and"off"
values are treated as true instead of true/false when surrounded by double quotes. By always resorting to true/false we avoid unaccounted edge cases. - Fix issue whereas SELinux state would not be correctly set back to
enforcing
whennginx_config_selinux: true
.
0.3.0
BREAKING CHANGES:
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.
ENHANCEMENTS:
- Add survey to README.
- Improve README structure and use tables where relevant.
- Update Ansible (now Ansible base) to
2.10.3
, Ansible (now Ansible Community Distribution) to2.10.3
, Ansible Lint to4.3.7
, Molecule to3.1.5
, and yamllint to1.25.0
. - Improve templating of stub status and REST API config.
BUG FIXES:
- Prevent TravisCI from trying to build (and failing) NGINX Plus images on external PRs.
- Fix naming for SELinux facts dictionary.
- Correctly import
app_protect
global directives in template. - Role now runs correctly when using Ansible's check mode.
- Fix issue with access log in stub status and REST API config template not being properly parsed.
0.2.0
BREAKING CHANGES:
- The process to configure modules has changed. Instead of manually setting the modules you want to install to
true
orfalse
, you will now have to use either:- A newly introduced top level list variable,
nginx_config_modules
. - A newly introduced list variable within your main NGINX config template,
nginx_config_main_template.modules
.
- A newly introduced top level list variable,
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.
FEATURES:
- 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. - Add Alpine
3.12
to the list of supported platforms. - Remove Alpine
3.8
from the list of supported platforms . - Add NGINX Plus tests to TravisCI
ENHANCEMENTS:
- Added handlers to check for NGINX syntax validity and fail if any errors are detected.
- Switch to using
ansible_facts
wherever possible. - Improved tasks naming conventions.
- Update Ansible to
2.9.13
and Ansible Lint to4.3.5
. - Explicitly defined
mode
in relevant tasks. - Improve configuration templating capabilities:
- Allow setting
access_log
/access_log_location
tooff
. - Add IP restriction for web servers
- Allow setting
BUG FIXES:
- An empty
nginx_config_cleanup_files
will no longer causenginx_config_cleanup
related tasks to fail.
0.1.0
Initial release of the NGINX Config role. Contains all NGINX Config related features previously available on the NGINX Ansible role.