From c07792daee986d27dbb05ab8c9daeb98585d1e6e Mon Sep 17 00:00:00 2001 From: Alessandro Fael Garcia Date: Thu, 18 Oct 2018 21:39:36 +0200 Subject: [PATCH] Add extra checks for when the nginx repo is needed. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index fc0a40f..fc673af 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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: