Add 'nginx_install_epel_release' feature flag to disable the installation of epel-release if so desired (#421)

Co-authored-by: Jurgen Verhasselt <hello@sjugge.be>
This commit is contained in:
Jurgen Verhasselt 2021-06-14 13:13:58 +02:00 committed by alessfg
parent 897689219c
commit f1272ef80e
No known key found for this signature in database
GPG Key ID: 7E5B134EEDC42A56
3 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## 0.21.0 (Unreleased)
FEATURES:
* Add a `nginx_install_epel_release` feature flag which allows epel-release to not be installed by this role if so desired.
## 0.20.0 (June 9, 2021)
BREAKING CHANGES:

View File

@ -40,6 +40,12 @@ nginx_state: present
# Default is nginx_repository.
nginx_install_from: nginx_repository
# Specify whether or not you want this role to install the epel-release package.
# Using 'true' will install epel-release if other criteria are met.
# Using 'false' will not install epel-release.
# Default is true.
nginx_install_epel_release: true
# Specify source install options for NGINX Open Source.
# Options represent whether to install from source also or to install from packages (default).
# These only apply if 'nginx_install_from' is set to 'source'.

View File

@ -5,6 +5,7 @@
when:
- ansible_facts['distribution'] == "CentOS"
- '"geoip" in nginx_modules'
- nginx_install_epel_release | bool
- name: Install NGINX modules
package: