github nginxinc/ansible-role-nginx 0.17.0

latest releases: 0.24.2, 0.24.1, 0.24.0...
pre-release3 years ago

BREAKING CHANGES:

  • The process to install modules has changed. You will now have to use a list variable, nginx_modules, instead of manually setting the modules you want to install to true or false. This change will also simplify adding future supported modules to this role. You can find a list of supported modules for NGINX and NGINX Plus in vars/main.yml.
  • Modules can no longer be added to your NGINX config using this role. Please use the nginx_config role instead.
  • Changed nginx_configure default value from true to false to further promote the adoption of the NGINX config role.

FEATURES:

  • A new variable has been introduced:
    • nginx_setup_license -- Determine whether you want to use this role to upload your NGINX license to your target host.
  • 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
  • Three new tags have been introduced -- nginx_setup_license, nginx_install and nginx_check_support.
  • 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.
  • Major backend refactoring to reduce the number of files and tasks.
  • You can now specify an nginx_repository for NGINX Plus too.
  • Moved "constant" variables to vars/main.yml.
  • Included deprecation warnings in task names and files.
  • Improved tasks naming conventions.
  • Update Ansible to 2.9.13 and Ansible Lint to 4.3.5.

BUG FIXES:

  • NGINX Plus repository data for RHEL based distros is now appropriately set.
  • Building NGINX from source should now work as expected in CentOS/RHEL 6 systems running Python 2.6 or earlier versions of 2.7.

Don't miss a new ansible-role-nginx release

NewReleases is sending notifications on new releases.