0.2.0
Pre-release
Pre-release
BREAKING CHANGES:
- The process to configure modules has changed. Instead of manually setting the modules you want to install to
trueorfalse, 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.12to the list of supported platforms. - Remove Alpine
3.8from 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_factswherever possible. - Improved tasks naming conventions.
- Update Ansible to
2.9.13and Ansible Lint to4.3.5. - Explicitly defined
modein relevant tasks. - Improve configuration templating capabilities:
- Allow setting
access_log/access_log_locationtooff. - Add IP restriction for web servers
- Allow setting
BUG FIXES:
- An empty
nginx_config_cleanup_fileswill no longer causenginx_config_cleanuprelated tasks to fail.