From af54ab1401717161aa37783bf2ed71f0d28d714d Mon Sep 17 00:00:00 2001 From: Thomas Boros Date: Thu, 3 Oct 2019 18:10:51 +0200 Subject: [PATCH] Fix module installation when with plus (#162) * Fixes module installation when nginx_delete_license is set to true with plus license --- tasks/main.yml | 3 +++ tasks/plus/install-plus.yml | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index f9e6393..8d893f8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -55,6 +55,9 @@ - import_tasks: conf/debug-output.yml when: nginx_debug_output | bool + - import_tasks: plus/delete-license.yml + when: nginx_type == "plus" and nginx_delete_license + when: nginx_enable | bool - import_tasks: amplify/install-amplify.yml diff --git a/tasks/plus/install-plus.yml b/tasks/plus/install-plus.yml index 43d859c..c091124 100644 --- a/tasks/plus/install-plus.yml +++ b/tasks/plus/install-plus.yml @@ -21,6 +21,3 @@ name: nginx-plus state: present notify: "(Handler: All OSs) Start NGINX" - -- import_tasks: delete-license.yml - when: nginx_delete_license | bool