From 05627d1293b96891e3289cc9236271e0f3b7df32 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 15 Dec 2016 17:47:28 +0100 Subject: [PATCH] dnet-openaire/host_vars/node6.t.openaire.research-infrastructures.eu: Fixes to the tomcat variables. library/roles/tomcat-multiple-instances/tasks/main.yml: ignore errors when restarting. Otherwise changing the jdk will fail miserably. --- tomcat-multiple-instances/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tomcat-multiple-instances/tasks/main.yml b/tomcat-multiple-instances/tasks/main.yml index 0c1c38e..c8412cd 100644 --- a/tomcat-multiple-instances/tasks/main.yml +++ b/tomcat-multiple-instances/tasks/main.yml @@ -15,6 +15,7 @@ - item.user != "tomcat{{ tomcat_version }}" - item.user_shell is defined register: tomcat_first_install + ignore_errors: True tags: [ 'tomcat', 'tomcat_instances' ] - name: Create a tomcat user if needed @@ -23,6 +24,7 @@ - tomcat_m_use_default_user - tomcat_m_default_user != "tomcat{{ tomcat_version }}" register: tomcat_first_install + ignore_errors: True tags: [ 'tomcat', 'tomcat_instances' ] - name: Create the instances directory trees