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.
This commit is contained in:
Andrea Dell'Amico 2016-12-15 17:47:28 +01:00
parent d1999f7f3d
commit 05627d1293
1 changed files with 2 additions and 0 deletions

View File

@ -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