Andrea Dell'Amico
3f86df0baa
library/roles/tomcat-multiple-instances/templates/tomcat-default.j2: Fix the JVM tmp directory path.
2018-06-01 18:49:46 +02:00
Andrea Dell'Amico
09c9c0bcdb
library/roles/tomcat-multiple-instances/templates/tomcat-context.xml.j2: Support more than one db target in the jndi configuration.
2018-02-27 16:52:33 +01:00
Andrea Dell'Amico
be8b0b5178
tomcat-multiple-instances: Add a 'file.encoding' directive to the java options. See https://support.d4science.org/issues/11192
2018-02-15 16:43:16 +01:00
Andrea Dell'Amico
33ada02ff7
library/roles/tomcat-multiple-instances: Optionally add the IP address to the JMX options.
2018-01-23 19:38:44 +01:00
Andrea Dell'Amico
98a56aa0bc
tomcat-users.xml.j2: Fix more variables.
2017-12-06 18:26:01 +01:00
Andrea Dell'Amico
c307c38f74
tomcat-users.xml.j2: Fix the template variables names.
2017-12-06 18:24:11 +01:00
Andrea Dell'Amico
0e8479e0e7
tomcat-multiple-instances: conditionally enable and the manager and host-manager applications. Configure the tomcat-users opportunely, and optionally setup additional users and roles.
2017-12-06 18:24:11 +01:00
Andrea Dell'Amico
d9052c3e65
Remove the redirections to the 8443 port from the tomcat server.xml templates. We do not configure ssl on tomcat directly, we use a reverse proxy.
2017-12-01 18:34:08 +01:00
Andrea Dell'Amico
f3b2334f03
fix a typo.
2017-11-23 11:59:52 +01:00
Andrea Dell'Amico
5d81cc4f57
tomcat multiple instances: add some variables, see https://support.d4science.org/issues/10153
2017-11-22 18:00:27 +01:00
Andrea Dell'Amico
54b61f7f28
The tomcat debug options do not like spaces.
2017-10-17 20:14:09 +02:00
Andrea Dell'Amico
8218c24ab4
The new JDK debug syntax requires a hostname and a port.
2017-10-17 20:08:44 +02:00
Andrea Dell'Amico
c5d7868257
tomcat, tomcat-multiple-instances: New JDK options to activate the debug.
2017-10-17 19:39:24 +02:00
Andrea Dell'Amico
f9a531231e
tomcat-multiple-instances: Fix the jmx default port.
2017-09-21 18:40:37 +02:00
Andrea Dell'Amico
9308f7cdf0
tomcat-multiple-instances: Fix the permissions of the temp directory, again.
2017-09-15 13:05:31 +02:00
Andrea Dell'Amico
042c6a7767
tomcat-multiple-instances: Create the tmp directory with the correct permissions and ownership.
2017-09-15 13:02:27 +02:00
Andrea Dell'Amico
33d3286e74
Change the tomcat roles so that we are now able to change the default temporary directory.
2017-09-15 12:44:48 +02:00
Andrea Dell'Amico
b6e4b89965
Fix a typo.
2017-09-01 19:30:54 +02:00
Andrea Dell'Amico
d0879ec755
catalina.properties is now a template in the tomcat-multiple-instances role.
2017-09-01 19:09:24 +02:00
Andrea Dell'Amico
848b7c94d9
library/roles/tomcat-multiple-instances, library/roles/tomcat: Record the remote client IP address into the access log. See https://support.d4science.org/issues/9155
2017-07-04 17:24:23 +02:00
Andrea Dell'Amico
cc10698ecb
library/roles/tomcat-multiple-instances/tasks/main.yml: Restart all the instances when a default has been changed. The old trick did not work correctly.
2017-05-11 17:05:11 +02:00
Andrea Dell'Amico
ad0d5d676b
library/roles/tomcat-multiple-instances/tasks/main.yml: Add the tag 'jdk' to the task that install the tomcat defaults. This way a JDK change will be reflected to the tomcat configuration.
2017-05-10 14:00:45 +02:00
Andrea Dell'Amico
a745a6a46f
library/roles/tomcat-multiple-instances/tasks/main.yml: Fix defaults for the users creation.
2017-04-19 19:19:24 +02:00
Andrea Dell'Amico
9087f16cb2
library/roles/tomcat-multiple-instances/tasks/main.yml: Fix a wrong conditional.
2017-03-23 17:54:57 +01:00
Andrea Dell'Amico
7dc249bece
library/roles/tomcat-multiple-instances: Manage context.xml, for JNDI
2017-03-23 17:32:43 +01:00
Andrea Dell'Amico
5ffd2eee27
library/roles/tomcat: Do not set the permgen max size if the JDK version is >= 8.
2017-01-17 12:54:01 +01:00
Andrea Dell'Amico
3a926d3080
library/roles/tomcat-multiple-instances: Do not set the Permgen size option if the jdk version is >=8.
2017-01-17 12:46:25 +01:00
Andrea Dell'Amico
05627d1293
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.
2016-12-15 17:48:37 +01:00
Andrea Dell'Amico
d1c3d3ebd4
library/roles/tomcat-multiple-instances, library/roles/tomcat: Define ad support the 'maxPostSize' option.
2016-12-05 14:00:00 +01:00
Andrea Dell'Amico
364d6ed864
library/roles/tomcat-multiple-instances/templates/tomcat-default.j2: Set a default for the tomcat jmx port.
2016-11-17 14:49:06 +01:00
Andrea Dell'Amico
719d0cb8b7
library/roles/tomcat-multiple-instances/defaults/main.yml: Set a default for the jmx port.
2016-11-17 14:47:40 +01:00
Andrea Dell'Amico
7064bc2af4
library/roles/tomcat-multiple-instances/defaults/main.yml: Fix the java opts variables. The heap was listed twice.
2016-11-16 16:15:43 +01:00
Andrea Dell'Amico
89e8005016
library/roles/tomcat-multiple-instances: The java heap is now set by an ad hoc variable.
2016-11-16 11:41:29 +01:00
Andrea Dell'Amico
439038df06
library/roles/tomcat-multiple-instances/defaults/main.yml: New variable that permits to skip the role.
2016-06-23 20:19:17 +02:00
Andrea Dell'Amico
1309a27c2e
library/roles/tomcat-multiple-instances/defaults/main.yml: Defaults for autodeploy and autounpack.
2016-05-26 18:59:13 +02:00
Andrea Dell'Amico
d6fabdc929
d4science-ghn-cluster/roles/smartgears/defaults/main.yml: Unpack war files by default.
2016-05-19 19:22:52 +02:00
Andrea Dell'Amico
3c615980ef
library/roles/tomcat-multiple-instances/templates/tomcat-server.xml.j2, library/roles/tomcat/templates/tomcat-server.xml.j2: Support the x-forwarded-for header in the access_log configuration.
2016-03-18 18:18:49 +01:00
Andrea Dell'Amico
670a98fa2a
library/roles: Ansible 2 compatibility.
2016-03-08 10:58:57 +01:00
Luca Frosini
055128b70a
Fixed missing variable tomcat port debug
2016-03-04 12:48:08 +01:00
Andrea Dell'Amico
f95f3a53b7
d4science-ghn-cluster/group_vars/smartexecutor_dev: Manage the dev smartexecutors too. Two groups to split the devsec and devnext scopes.
...
d4science-ghn-cluster/roles/nginx-frontend: Better nginx virtualhost management.
library/roles: ansible 2 compatibility fixes.
2016-03-03 18:55:27 +01:00
Andrea Dell'Amico
73e6c96026
library/roles/tomcat-multiple-instances/tasks/main.yml: ansible 2 compatibility fix.
2016-03-02 17:05:01 +01:00
Andrea Dell'Amico
75fd7d0574
library/roles/postgresql, library/roles/tomcat-multiple-instances, library/roles/tomcat, library/roles/ubuntu-deb-general: ansible 2 cleanup.
2016-03-02 16:44:43 +01:00
Andrea Dell'Amico
7413e6398a
library/roles/tomcat, library/roles/tomcat-multiple-instances: Fix other ansible 2 incompatibilities.
2016-03-02 15:19:25 +01:00
Andrea Dell'Amico
a7114f7888
library/roles/tomcat-multiple-instances: Fix tags on the main tasks file. Fix an error on the handlers file that was only raised by ansible 2.0.
2016-03-01 14:13:18 +01:00
Andrea Dell'Amico
3d5a984427
d4science-ghn-cluster: couchdb: authentication data to support the couchdb ganglia plugin
...
d4science-ghn-cluster/group_vars/egi_smartexecutor: Install a nginx proxy in front of tomcat
d4science-ghn-cluster/group_vars/ghn_smartgears_prod: Install the gcube keys. Get them from the workspace.
library/roles/couchdb: Support ganglia and the installation of a specific ganglia plugin.
library/roles/tomcat-multiple-instances/defaults/main.yml: Fix the jmx options.
dnet-openaire/host_vars/node6.t.openaire.research-infrastructures.eu: jmx rules for tomcat and iptables.
2015-11-25 16:56:39 +01:00
Andrea Dell'Amico
f0f94260c5
library/roles/ssh-keys/tasks/non-root-ssh-keys.yml: do not try to install ssh keys if they do not exist.
...
library/roles/tomcat-multiple-instances/handlers/main.yml: Ignore errors.
2015-10-01 17:56:38 +02:00
Andrea Dell'Amico
0edd59a9f4
library/roles/tomcat-multiple-instances/tasks/main.yml: More fine grained tags
...
dnet-openaire/group_vars/dli/dli.yml: Increment the dnet container heap size.
2015-09-15 17:37:56 +02:00
Andrea Dell'Amico
226da8cd0f
library/roles/tomcat: special treatment for the server.xml file: use a dedicated variable to decide if install it or not.
...
d4science-gcube/group_vars/mediawiki/all.yml: change the d4science (imarine) wiki database name.
2015-08-24 15:56:46 +02:00
Andrea Dell'Amico
0df30e5cf7
library/roles: fixes to the fail2ban and iptables handlers. Remove some dependencies from the solr-tomcat-instance and tomcat-apache-requirements roles. They will need to be explicitly set.
2015-07-23 19:32:54 +02:00
Andrea Dell'Amico
10441129fc
library/roles/dnet_user_services_perms: Manage more directories. Logs in /var/log/dnet
...
library/roles/iptables/templates/iptables-rules.v6.j2: Fix the reject options
library/roles/tomcat: Install a catalina.properties that matches the one used by the multiple instances role
library/roles/tomcat/templates/tomcat-server.xml.j2: Do not generate a random password when the shutdown port is disabled
2015-07-16 13:25:02 +02:00