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:
parent
897689219c
commit
f1272ef80e
@ -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:
|
||||
|
@ -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'.
|
||||
|
@ -5,6 +5,7 @@
|
||||
when:
|
||||
- ansible_facts['distribution'] == "CentOS"
|
||||
- '"geoip" in nginx_modules'
|
||||
- nginx_install_epel_release | bool
|
||||
|
||||
- name: Install NGINX modules
|
||||
package:
|
||||
|
Loading…
Reference in New Issue
Block a user