Releases: nginxinc/ansible-role-nginx-config
0.7.1
👾 Help make the NGINX config Ansible role better by participating in our survey! 👾
What's new in NGINX's config Ansible role 0.7.1!
🚀 Features
🎉 Enhancements
🐛 Bug Fixes
- Change HTTP3 attribute check from enabled to enable (#363) @fpfuetsch
- Change HTTP2 attribute check from enabled to enable (#358) @tugytur
⬆️ Dependencies
- Bump ansible-core from 2.15.1 to 2.15.4 in /.github/workflows/requirements (#371, #357, #349) @dependabot
- Bump ansible-lint from 6.17.2 to 6.20.2 in /.github/workflows/requirements (#374, #373, #369, #364) @dependabot
- Bump ansible-compat from 4.1.5 to 4.1.10 in /.github/workflows/requirements (#368, #367, #361) @dependabot
- Bump molecule from 5.1.0 to 6.0.2 in /.github/workflows/requirements (#366, #359, #356) @dependabot
- Bump molecule-plugins[docker] from 23.4.1 to 23.5.0 in /.github/workflows/requirements (#354) @dependabot
Install & Upgrade
- To install the Ansible NGINX config role on a fresh environment, run
ansible-galaxy install nginxinc.nginx_config
. - To upgrade the Ansible NGINX config role to the latest release, run
ansible-galaxy install -f nginxinc.nginx_config
. - To install or upgrade to this specific Ansible NGINX config role release (0.7.1), run
ansible-galaxy install -f nginxinc.nginx_config,v0.7.1
.
Resources
- Functional configuration examples (check
converge.yml
under eachmolecule
scenario) -- github.com/nginxinc/ansible-role-nginx-config/tree/0.7.1/molecule. - Ansible Galaxy repository -- galaxy.ansible.com/nginxinc/nginx_config.
- NGINX Ansible role & collection introductory blog -- nginx.com/blog/announcing-nginx-core-collection-ansible.
- NGINX: Better with Ansible demo -- github.com/alessfg/nginx-ansible-demo.
0.7.0
👾 Help make the NGINX config Ansible role better by participating in our survey! 👾
What's new in NGINX's config Ansible role 0.7.0!
💣 Breaking Changes
🎉 Enhancements
🐛 Bug Fixes
- Change mappings value from a dictionary to a list in the default template (#317) @Uko
- Fix CI/CD pipeline (#324) @alessfg
⬆️ Dependencies
- Bump ansible-core from 2.14.1 to 2.15.1 in /.github/workflows/requirements (#343, #321, #313, #309) @dependabot
- Bump yamllint from 1.29.0 to 1.31.0 in /.github/workflows/requirements (#328, #320) @dependabot
- Bump ansible-lint from 6.11.0 to 6.17.2 in /.github/workflows/requirements (#345, #340, #329, #325, #323, #319, #315) @dependabot
- Bump molecule from 5.0.1 to 5.1.0 in /.github/workflows/requirements (#344) @dependabot
Install & Upgrade
- To install the Ansible NGINX config role on a fresh environment, run
ansible-galaxy install nginxinc.nginx_config
. - To upgrade the Ansible NGINX config role to the latest release, run
ansible-galaxy install -f nginxinc.nginx_config
. - To install or upgrade to this specific Ansible NGINX config role release (0.7.0), run
ansible-galaxy install -f nginxinc.nginx_config,v0.7.0
.
Resources
- Functional configuration examples (check
converge.yml
under eachmolecule
scenario) -- github.com/nginxinc/ansible-role-nginx-config/tree/0.7.0/molecule. - Ansible Galaxy repository -- galaxy.ansible.com/nginxinc/nginx_config.
- NGINX Ansible role & collection introductory blog -- nginx.com/blog/announcing-nginx-core-collection-ansible.
- NGINX: Better with Ansible demo -- github.com/alessfg/nginx-ansible-demo.
0.6.0
👾 Help make the NGINX config Ansible role better by participating in our survey! 👾
What's new in NGINX's config Ansible role 0.6.0!
🎉 Enhancements
- Standardize code from dot to array notation (#306) @alessfg
- Support
include
in the main NGINX context (#302) @alessfg
🐛 Bug Fixes
- Replace non-existent GitHub actions key (#305) @alessfg
- Fix tests not running on external PRs (#297) @alessfg
🧪 Tests
- Update NGINX role versions used by Molecule (#307) @alessfg
- Use amd64 platform for Molecule tests (#300) @alessfg
- Update GitHub actions to use Ubuntu 22.04 (#298) @alessfg
⬆️ Dependencies
- Bump ansible-core from 2.13.5 to 2.14.1 in /.github/workflows/requirements (#293) @dependabot
- Bump ansible-lint from 6.7.0 to 6.11.0 in /.github/workflows/requirements (#304, #296, #282) @dependabot
- Bump yamllint from 1.28.0 to 1.29.0 in /.github/workflows/requirements (#301) @dependabot
- Bump molecule[docker] from 4.0.2 to 4.0.4 in /.github/workflows/requirements (#294) @dependabot
- Bump docker from 6.0.0 to 6.0.1 in /.github/workflows/requirements (#286) @dependabot
- Bump Ansible collections (#299) @alessfg
Install & Upgrade
- To install the Ansible NGINX config role on a fresh environment, run
ansible-galaxy install nginxinc.nginx_config
. - To upgrade the Ansible NGINX config role to the latest release, run
ansible-galaxy install -f nginxinc.nginx_config
. - To install or upgrade to this specific Ansible NGINX config role release (0.6.0), run
ansible-galaxy install -f nginxinc.nginx_config,v0.6.0
.
Resources
- Functional configuration examples (check
converge.yml
under eachmolecule
scenario) -- github.com/nginxinc/ansible-role-nginx-config/tree/0.6.0/molecule. - Ansible Galaxy repository -- galaxy.ansible.com/nginxinc/nginx_config.
- NGINX Ansible role & collection introductory blog -- nginx.com/blog/announcing-nginx-core-collection-ansible.
- NGINX: Better with Ansible demo -- github.com/alessfg/nginx-ansible-demo.
0.5.2
👾 Help make the NGINX config Ansible role better by participating in our survey! 👾
What's new in NGINX's config Ansible role 0.5.2!
🎉 Enhancements
- Support the latest NGINX Plus R26 directives (#261) @alessfg
- Support the latest NGINX App Protect DoS directives (#277) @alessfg
🐛 Bug Fixes
Improve the NGINX main config defaults (#254, #252) @alessfg
🧪 Tests
- Skip GH action plus tests only when secrets aren't present (#271) @alessfg
- Remove Yamllint (#265) @alessfg
⬆️ Dependencies
- Bump ansible-core from 2.12.4 to 2.13.4 in /.github/workflows/requirements (#274, #267, #264, #260, #249, #247) @dependabot
- Bump jinja2 from 3.1.1 to 3.1.2 in /.github/workflows/requirements (#246) @dependabot
- Bump ansible-lint from 6.5.1 to 6.7.0 in /.github/workflows/requirements (#276, #270, #269, #266, #258, #250) @dependabot
- Bump yamllint from 1.26.3 to 1.28.0 in /.github/workflows/requirements (#275, #262) @dependabot
- Bump molecule[docker] from 3.6.1 to 4.0.1 in /.github/workflows/requirements (#263, #259) @dependabot
- Bump docker from 5.0.3 to 6.0.0 in /.github/workflows/requirements (#268) @dependabot
- Bump Ansible collections (#272, #256) @alessfg
Install & Upgrade
- To install the Ansible NGINX config role on a fresh environment, run
ansible-galaxy install nginxinc.nginx_config
. - To upgrade the Ansible NGINX config role to the latest release, run
ansible-galaxy install -f nginxinc.nginx_config
. - To install or upgrade to this specific Ansible NGINX config role release (0.5.2), run
ansible-galaxy install -f nginxinc.nginx_config,v0.5.2
.
Resources
- Functional configuration examples (check
converge.yml
under eachmolecule
scenario) -- github.com/nginxinc/ansible-role-nginx-config/tree/0.5.2/molecule. - Ansible Galaxy repository -- galaxy.ansible.com/nginxinc/nginx_config.
- NGINX Ansible role & collection introductory blog -- nginx.com/blog/announcing-nginx-core-collection-ansible.
- NGINX: Better with Ansible demo -- github.com/alessfg/nginx-ansible-demo.
0.5.1
👾 Help make the NGINX config Ansible role better by participating in our survey! 👾
What's new in NGINX's config Ansible role 0.5.1!
🎉 Enhancements
- Add
mirror
andgunzip
modules (#242) @igloo777 - Add
map
andsplit_clients
modules (#235) @igloo777 - Add
RealIP
module (#240) @alessfg - Streamline configuring SELinux (#239) @alessfg
🐛 Bug Fixes
- Ansible check mode fails if NGINX is not installed (#229) @alessfg
- Fix formatting of access template (#244) @igloo777
⬆️ Dependencies
- Bump Ansible collections (#243, #241) @alessfg
- Bump ansible-core from 2.12.2 to 2.12.4 in /.github/workflows/requirements (#236, #227) @dependabot
- Bump jinja2 from 3.0.3 to 3.1.1 in /.github/workflows/requirements (#234) @dependabot
- Bump ansible-lint from 5.4.0 to 6.0.2 in /.github/workflows/requirements (#233, #230) @dependabot
- Bump actions/checkout from 2.4.0 to 3 (#228) @dependabot
- Bump actions/setup-python from 2.3.2 to 3.0.0 (#226) @dependabot
Install & Upgrade
- To install the Ansible NGINX config role on a fresh environment, run
ansible-galaxy install nginxinc.nginx_config
. - To upgrade the Ansible NGINX config role to the latest release, run
ansible-galaxy install -f nginxinc.nginx_config
. - To install or upgrade to this specific Ansible NGINX config role release (0.5.1), run
ansible-galaxy install -f nginxinc.nginx_config,v0.5.1
.
Resources
- Functional configuration examples (check
converge.yml
under eachmolecule
scenario) -- github.com/nginxinc/ansible-role-nginx-config/tree/0.5.1/molecule. - Ansible Galaxy repository -- galaxy.ansible.com/nginxinc/nginx_config.
- NGINX Ansible role & collection introductory blog -- nginx.com/blog/announcing-nginx-core-collection-ansible.
- NGINX: Better with Ansible demo -- github.com/alessfg/nginx-ansible-demo.
0.5.0
👾 Help make the NGINX config Ansible role better by participating in our survey! 👾
What's new in NGINX's config Ansible role 0.5.0!
💣 Breaking Changes
- Replace
html_file_name
andhtml_file_location
withdeployment_location
insidenginx_config_html_demo_template
(#222) @alessfg - Refactor NGINX stream templates (#217) @alessfg
- Remove parameters deprecated in release
0.4.0
(#202) @alessfg
🚀 Features
- Automatically create NGINX client body temp path directory (#206) @alessfg
- Make backup parameter optional (#205) @alessfg
🐛 Bug Fixes
- Do not set SELinux to permissive when it is enabled in check mode (#212) @dlouks
- Fix bugged conditional check in the
http/ssl.j2
Jinja2 template (#220) @alessfg - Fix typo in REST API template (#218) @alessfg
- Fix bug with single custom_directives (#213) @rotanid
⬆️ Dependencies
- Bump Ansible collections (#225) @alessfg
- Bump ansible-core from 2.11.6 to 2.12.2 in /.github/workflows/requirements (#216, #203, #197) @dependabot
- Bump jinja2 from 3.0.2 to 3.0.3 in /.github/workflows/requirements (#198) @dependabot
- Bump molecule[docker] from 3.5.2 to 3.6.1 in /.github/workflows/requirements (#223, #215) @dependabot
- Bump ansible-lint from 5.2.1 to 5.4.0 in /.github/workflows/requirements (#221, #209, #204, #201) @dependabot
- Bump actions/setup-python from 2.2.2 to 2.3.2 (#214, #200, #199) @dependabot
- Bump actions/checkout from 2.3.5 to 2.4.0 (#196) @dependabot
Install & Upgrade
- To install the Ansible NGINX config role on a fresh environment, run
ansible-galaxy install nginxinc.nginx_config
. - To upgrade the Ansible NGINX config role to the latest release, run
ansible-galaxy install -f nginxinc.nginx_config
. - To install or upgrade to this specific Ansible NGINX config role release (0.5.0), run
ansible-galaxy install -f nginxinc.nginx_config,v0.5.0
.
Resources
- Functional configuration examples (check
converge.yml
under eachmolecule
scenario) -- github.com/nginxinc/ansible-role-nginx-config/tree/0.5.0/molecule. - Ansible Galaxy repository -- galaxy.ansible.com/nginxinc/nginx_config.
- NGINX Ansible role & collection introductory blog -- nginx.com/blog/announcing-nginx-core-collection-ansible.
- NGINX: Better with Ansible demo -- github.com/alessfg/nginx-ansible-demo.
0.4.2
👾 Help make the NGINX config Ansible role better by participating in our survey! 👾
What's new in NGINX's config Ansible role 0.4.2!
🐛 Bug Fixes
- Additional Jinja2 sequence/mapping fixes (#194) @alessfg
- Fix rewrite option in modules template (#193) @tcraxs
- Replace Jinja2 sequence checks with mapping (dictionary) checks (#191, #189) @alessfg
- Fix NAP DoS monitor directive (#190) @alessfg
Install & Upgrade
- To install the Ansible NGINX config role on a fresh environment, run
ansible-galaxy install nginxinc.nginx_config
. - To upgrade the Ansible NGINX config role to the latest release, run
ansible-galaxy install -f nginxinc.nginx_config
. - To install or upgrade to this specific Ansible NGINX config role release (0.4.2), run
ansible-galaxy install -f nginxinc.nginx_config,v0.4.2
.
Resources
- Functional configuration examples (check
converge.yml
under eachmolecule
scenario) -- github.com/nginxinc/ansible-role-nginx-config/tree/0.4.2/molecule. - Ansible Galaxy repository -- galaxy.ansible.com/nginxinc/nginx_config.
- NGINX Ansible role & collection introductory blog -- nginx.com/blog/announcing-nginx-core-collection-ansible.
- NGINX: Better with Ansible demo -- github.com/alessfg/nginx-ansible-demo.
0.4.1
👾 Help make the NGINX config Ansible role better by participating in our survey! 👾
What's new in NGINX's config Ansible role 0.4.1!
🐛 Bug Fixes
- Remove duplicated brace in
http/auth.j2
(#185) @hqwisen - Fix
deployment_location
directory not being created (#187) @alessfg
⬆️ Dependencies
Install & Upgrade
- To install the Ansible NGINX config role on a fresh environment, run
ansible-galaxy install nginxinc.nginx_config
. - To upgrade the Ansible NGINX config role to the latest release, run
ansible-galaxy install -f nginxinc.nginx_config
. - To install or upgrade to this specific Ansible NGINX config role release (0.4.1), run
ansible-galaxy install -f nginxinc.nginx_config,v0.4.1
.
Resources
- Functional configuration examples (check
converge.yml
under eachmolecule
scenario) -- github.com/nginxinc/ansible-role-nginx-config/tree/0.4.1/molecule. - Ansible Galaxy repository -- galaxy.ansible.com/nginxinc/nginx_config.
- NGINX Ansible role & collection introductory blog -- nginx.com/blog/announcing-nginx-core-collection-ansible.
- NGINX: Better with Ansible demo -- github.com/alessfg/nginx-ansible-demo.
0.4.0
👾 Help make the NGINX config Ansible role better by participating in our survey! 👾
What's new in NGINX's config Ansible role 0.4.0!
This is a very big release which fundamentally refactors the whole NGINX configuration templating engine. Almost all of the templates have undergone some breaking changes. Please take extra caution when upgrading your environment to this release and make sure you test any required changes before using the role in any potential production environments.
Efforts have been made to thoroughly test all these changes and make sure they work as intended, but due to the magnitude of the refactoring work, there will be some bugs that have escaped our tests. If you find any, please open an issue or PR through the usual channels.
💣 Breaking Changes
- Refactor HTTP core module (#168) @alessfg
- Refactor HTTP upstream module (#85) @alessfg
- Refactor HTTP health check module (#152) @alessfg
- Refactor HTTP auth modules (#141) @alessfg
- Refactor HTTP SSL module (#121) @alessfg
- Refactor HTTP Proxy module (#87) @alessfg
- Refactor all minor modules (#151) @alessfg
- Refactor NGINX config uploads (#79) @alessfg
- Replace nested dictionaries with lists (#76) @alessfg
🚀 Features
- Add support for NAP DoS directives (#182, #153) @aknot242
- Support multiple simulataneous NGINX config uploads (#79) @alessfg
🎉 Enhancements
- Implement new NGINX Plus R25 JWT directives (#175) @alessfg
- Add support for NAP WAF 3.2 security log lists (#114) @aknot242
- Add
reconnect_period_seconds
for NAP WAF 3.5 (#162) @aknot242 - Remove unused
nginx_config_debug_tasks
variable (#156) @rhombl4 - Include
alias
location statement support (#142) @RaymondSchnyder - Replace "yes"/"no" boolean values with "true"/"false" (#137) @alessfg
- Add
server_names_hash_bucket_size
directive (#116) @fschueller - Make http settings
access_log_format
andkeepalive_timeout
optional (#100) @rolandjitsu - Rename
html_file_name
toindex
and addindex
toserver_block
(#67) @kutysam - Remove redundant forward slashes (#77) @brianclemens
- Replace nested dictionaries with lists (#76) @alessfg
- Fix
package
module in Molecule verification tests (#72) @alessfg
🐛 Bug Fixes
- Fix default template for nginx.conf (#148) @alessfg
- Make proxy_read_timeout a string instead of a boolean (#135) @alessfg
- Fix
nginx_config_cleanup_paths
not working as intended (#99) @alessfg - Fix missing GRPC boolean check in GRPC template (#95) @alessfg
- Change directory to
/etc/nginx
before running NGINX config check (#81) @aknot242 - Fix
package
module in Molecule verification tests (#72) @alessfg
⬆️ Dependencies
- Bump Ansible collections (#184, # 170, #144, #138, #118, #112, #103) @alessfg
- Implement Release Drafter (#117) @alessfg
- Bump ansible-core from 2.11.1 to 2.11.6 in /.github/workflows/requirements (#181, #167, #159, #155, #149) @dependabot
- Replace Ansible base with Ansible core (#133) @alessfg
- Bump jinja2 from 2.11.3 to 3.0.2 in /.github/workflows/requirements (#173, #126, #124) @dependabot
- Add explicit Jinja2 requirement (#104) @alessfg
- Bump ansible-lint from 4.3.7 to 5.2.1 in /.github/workflows/requirements (#183, #172, #163, #154, #139, #130, #120, #109, #106, #102, #92) @dependabot
- Bump yamllint from 1.25.0 to 1.26.3 in /.github/workflows/requirements (#160, #157, #107, #68) @dependabot
- Bump molecule[docker] from 3.2.2 to 3.5.2 in /.github/workflows/requirements (#174, #169, #158, #140, #136, #128, #125, #101, #91, #69) @dependabot
- Bump docker from 4.4.1 to 5.0.3 in /.github/workflows/requirements (#177, #165, #108, #86 , #86, #78) @dependabot
- Bump actions/setup-python from 2 to 2.2.2 (#123) @dependabot
- Bump actions/checkout from 2 to 2.3.5 (#180, #122) @dependabot
Install & Upgrade
- To install the Ansible NGINX config role on a fresh environment, run
ansible-galaxy install nginxinc.nginx_config
. - To upgrade the Ansible NGINX config role to the latest release, run
ansible-galaxy install -f nginxinc.nginx_config
. - To install or upgrade to this specific Ansible NGINX config role release (0.4.0), run
ansible-galaxy install -f nginxinc.nginx_config,v0.4.0
.
Resources
- Functional configuration examples (check
converge.yml
under eachmolecule
scenario) -- github.com/nginxinc/ansible-role-nginx-config/tree/0.4.0/molecule. - Ansible Galaxy repository -- galaxy.ansible.com/nginxinc/nginx_config.
- NGINX Ansible role & collection introductory blog -- nginx.com/blog/announcing-nginx-core-collection-ansible.
- NGINX: Better with Ansible demo -- github.com/alessfg/nginx-ansible-demo.
0.3.3
FEATURES:
- Add support for configuration snippets.
- Add support for Dependabot.
ENHANCEMENTS:
- Add support for NGINX GRPC directives.
- Add support for NGINX GZIP directives.
- Add support for upstream server
backup
parameter in http and stream template. - Only run GitHub actions Galaxy CI/CD workflow when a new release is published.
- Update list of supported platforms.
- Update Ansible base to
2.10.5
and Ansible to2.10.6
.
BUG FIXES:
- Address inconsistent types within Jinja templates.
- Add Jinja2 checks to all config template parameters to ensure that they are only included when appropriately defined.
- Fix edge case where
proxy_pass
is still required when usinggrpc_pass
.