Skip to content

Releases: nginxinc/ansible-role-nginx-config

0.3.2

11 Jan 16:23
Compare
Choose a tag to compare
0.3.2 Pre-release
Pre-release

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 to 2.10.5, Molecule to 3.2.2 and Docker Python SDK to 4.4.1.
  • Update copyright notice.

0.3.1

22 Dec 18:27
Compare
Choose a tag to compare
0.3.1 Pre-release
Pre-release

ENHANCEMENTS:

  • Update Molecule to 3.2.1 and Docker Python SDK to 4.4.0.
  • Replace TravisCI with GitHub actions.

BUG FIXES:

  • Switch to explicit boolean values in sub_filter defaults for last_modified and since in nginx_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 when nginx_config_selinux: true.

0.3.0

18 Nov 17:27
970320b
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release

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) to 2.10.3, Ansible Lint to 4.3.7, Molecule to 3.1.5, and yamllint to 1.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

23 Sep 00:38
Compare
Choose a tag to compare
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 true or false, 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.

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 to 4.3.5.
  • Explicitly defined mode in relevant tasks.
  • Improve configuration templating capabilities:
    • Allow setting access_log/access_log_location to off.
    • Add IP restriction for web servers

BUG FIXES:

  • An empty nginx_config_cleanup_files will no longer cause nginx_config_cleanup related tasks to fail.

0.1.0

19 Aug 16:38
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

Initial release of the NGINX Config role. Contains all NGINX Config related features previously available on the NGINX Ansible role.