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
|
# 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)
|
## 0.20.0 (June 9, 2021)
|
||||||
|
|
||||||
BREAKING CHANGES:
|
BREAKING CHANGES:
|
||||||
|
@ -40,6 +40,12 @@ nginx_state: present
|
|||||||
# Default is nginx_repository.
|
# Default is nginx_repository.
|
||||||
nginx_install_from: 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.
|
# Specify source install options for NGINX Open Source.
|
||||||
# Options represent whether to install from source also or to install from packages (default).
|
# 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'.
|
# These only apply if 'nginx_install_from' is set to 'source'.
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
when:
|
when:
|
||||||
- ansible_facts['distribution'] == "CentOS"
|
- ansible_facts['distribution'] == "CentOS"
|
||||||
- '"geoip" in nginx_modules'
|
- '"geoip" in nginx_modules'
|
||||||
|
- nginx_install_epel_release | bool
|
||||||
|
|
||||||
- name: Install NGINX modules
|
- name: Install NGINX modules
|
||||||
package:
|
package:
|
||||||
|
Loading…
Reference in New Issue
Block a user