Add extra checks for when the nginx repo is needed.
This commit is contained in:
parent
42d1937b3a
commit
c07792daee
@ -9,7 +9,7 @@
|
||||
- import_tasks: keys/rpm-key.yml
|
||||
when:
|
||||
- ansible_os_family == "RedHat" or ansible_os_family == "Suse"
|
||||
- nginx_install_from == "nginx_repository"
|
||||
- nginx_install_from == "nginx_repository" or nginx_amplify_enable or nginx_controller_enable or nginx_unit_enable
|
||||
|
||||
- name: "(Install: Debian/Ubuntu/CentOS/RedHat/FreeBSD) Install NGINX"
|
||||
block:
|
||||
|
Loading…
Reference in New Issue
Block a user