Andrea Dell'Amico
be5ff553de
Restart the tomcat instance after a logback.xml update.
2017-09-05 13:09:16 +02:00
Andrea Dell'Amico
04c74c3e67
Add a variable to switch from a time based only logback appender to the new size and time based. The new one needs a logback version newer that the one currently installed. See https://support.d4science.org/issues/9599
2017-09-05 12:43:46 +02:00
Andrea Dell'Amico
30c4f0e415
smartgears: install the logback configuration from a template, if not instructed to use the old way. See https://support.d4science.org/issues/9576
2017-09-04 20:02:37 +02:00
Roberto Cirillo
7258e12d3b
dm-pool-manager update version
...
smartgears update version
2017-09-04 12:00:05 +02:00
Andrea Dell'Amico
7ac767247f
The NRPE handler will run a service restart and not a 'start'.
2017-08-28 19:54:14 +02:00
Andrea Dell'Amico
defbf77503
Add a nagios NRPE handler to restart the tomcat instance when it dies.
2017-08-28 19:46:16 +02:00
Andrea Dell'Amico
47788be177
smartgears: Install the gcube root dev key in preprod too.
2017-07-20 17:41:42 +02:00
Roberto Cirillo
f9b037000d
Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks
2017-07-20 16:06:38 +02:00
Roberto Cirillo
7581efd1ec
../library/roles/smartgears/smartgears/defaults/main.yml update smartgears version
2017-07-20 16:05:47 +02:00
Andrea Dell'Amico
56eaf5e783
d4science-ghn-cluster/group_vars/all/gcube_vault_keys.yml library/roles/smartgears/dataminer_app/tasks/install-gcube-key.yml library/roles/smartgears/smartgears/tasks/install-gcube-keys.yml: New gcube keys.
2017-07-20 15:25:55 +02:00
Andrea Dell'Amico
1fc1d05687
library/roles/smartgears/smartgears-nginx-frontend: Fix the nginx template so that whn-manager is always added. See https://support.d4science.org/issues/9209
2017-07-07 13:42:33 +02:00
Roberto Cirillo
744c72e1b9
inventory/hosts.dev added EGI instances
...
roles/haproxy_frontend/templates/haproxy-dataminer.cfg.j2 added EGI instances
../library/roles/smartgears/smartgears/defaults/main.yml update smartgears distribution
2017-05-25 10:57:12 +02:00
Andrea Dell'Amico
f4bbb267ab
library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix the case when we are upgrading but we cannot get the state from the IS. In that case, we request new tokens to the IS.
2017-05-11 17:45:23 +02:00
Andrea Dell'Amico
9f0f5309ba
library/roles/smartgears/smartgears/defaults/main.yml: Add the smartgears_gcube_repository variable, see https://support.d4science.org/issues/8466
2017-05-09 17:29:53 +02:00
Roberto Cirillo
a6927b06a2
../library/roles/smartgears/smartgears/tasks/install-gcube-keys.yml added new VO keys
2017-04-28 17:23:53 +02:00
Roberto Cirillo
30adee8788
inventory/hosts.production host changed from sdi-p-d4s to sdi-d4s
...
../library/roles/smartgears/smartgears/defaults/main.yml fix sintax error
2017-04-28 17:14:08 +02:00
Roberto Cirillo
312ca95eec
group_vars/all/gcube_vault_keys.yml added keys for new VOs Edison and SmartArea
...
./library/roles/smartgears/smartgears/defaults/main.yml added new VO definition for the following VOs Edison OpenAIRE
2017-04-28 11:09:45 +02:00
Andrea Dell'Amico
74482a285d
library/roles/smartgears/smartgears/defaults/main.yml: Add a smartgears_global_base_url variable that can be used to replace the base URLs placed everywhere.
2017-04-20 16:56:48 +02:00
Andrea Dell'Amico
9d79eaa89a
library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix the get-scopes so that it requests tokens for the port 80 even when we redirect to https.
2017-04-12 15:34:41 +02:00
Andrea Dell'Amico
2238f7813c
library/roles/smartgears/smartgears/templates/container.xml.j2: Do not set the https port if the https redirection is enabled. smartgears needs to still publish itself on port 80.
2017-04-11 17:37:50 +02:00
Andrea Dell'Amico
691b10ad28
library/roles/smartgears/{dataminer_app,smartgears}: Handle the SoBigData gcube key.
2017-03-29 17:32:05 +02:00
Andrea Dell'Amico
c9a63a6330
library/roles/smartgears: Handle the case when we need VO level authorization. Use the locally saved scopes instead of the provided ones. See https://support.d4science.org/issues/7880
2017-03-28 20:19:36 +02:00
Andrea Dell'Amico
8c3a37c5bc
library/roles/smartgears/smartgears: Changes to the container.xml template and to the default variables to manage the case when we need authorization for all the VREs.
2017-03-27 17:39:44 +02:00
Andrea Dell'Amico
a129368684
library/roles/smartgears/smartgears/templates/tomcat-instance-default.j2: we can now add more environment variables to the file.
2017-03-23 17:33:43 +01:00
Andrea Dell'Amico
b9a6310195
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Correctly remove the state when instructed to do so.
2017-03-17 15:20:46 +01:00
Andrea Dell'Amico
4b2b0fa2bc
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Add a task to force a restart when a variable has been defined.
2017-03-17 13:17:46 +01:00
Roberto Cirillo
1c7b6b4fa9
../library/roles/smartgears/smartgears/defaults/main.yml update smartgears distribution version
2017-02-24 10:48:14 +01:00
Andrea Dell'Amico
2a16a82fd0
library/roles/smartgears/dataminer_app/tasks/install-gcube-key.yml: Remove the old keys when switching environment.
...
library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix the creation of the container.xml file. Updates were failing because the file was not writeable.
2017-02-09 16:34:42 +01:00
Andrea Dell'Amico
2513c63eff
library/roles/smartgears/smartgears/files/TokenGenerator.java: It lives on subversion now.
2017-02-02 11:44:44 +01:00
Andrea Dell'Amico
4ae4994f56
library/roles/smartgears/smartgears/files/TokenGenerator.class: New version of the token generation. Now the scope names are listed as comments near the related token.
2017-01-27 16:10:34 +01:00
Andrea Dell'Amico
ec51482863
library/roles: d4s_user_services_perms, fixes to the tasks so that they work if we have multiple tomcat installations but only a subset of them have smartgears installed.
...
library/roles/smartgears/smartgears/templates/container.xml.j2: Cosmetic fix.
2017-01-25 16:03:23 +01:00
Andrea Dell'Amico
dda9366e83
library/roles/smartgears, d4science-ghn-cluster/group_vars/all/gcube_vault_keys.yml: Add the D4Research gcube key.
2016-12-21 14:18:24 +01:00
Andrea Dell'Amico
4b0c1ca055
library/roles/smartgears/smartgears: Now the container.xml is generated by the get-scopes script. Only if a token was passed. See https://support.d4science.org/issues/6203 .
...
library/roles/smartgears/smartgears: Fix the tasks so that a multiple tomcat instances installation is possible, having smartgears running on only one tomcat instance.
2016-12-14 18:32:15 +01:00
Andrea Dell'Amico
6f795a39b8
library/roles/smartgears/smartgears: Remove smartgears < 2.0 related stuff.
2016-12-06 15:36:51 +01:00
Roberto Cirillo
23c23057d6
../library/roles/smartgears/smartgears/defaults/main.yml added smartgears_publication_frequency default
...
../library/roles/smartgears/smartgears/templates/container.xml.j2 set publication frequency as variable
2016-12-02 11:54:31 +01:00
Roberto Cirillo
b0d0c60c04
group_vars/rstudio_dev/rstudio.yml added smartgears_scope variable definition
...
../library/roles/rstudio-server/tasks/main.yml added igoring error on download certificate task
../library/roles/smartgears/smartgears/templates/container.xml.j2 update "frequencypublication" from 60 to 180 sec
2016-12-01 17:06:25 +01:00
Roberto Cirillo
19ee922543
group_vars/rstudio_dev/rstudio.yml added preproduction scopes
...
group_vars/tabulardata_pre/tabulardata_pre.yml add tabulardata variables
inventory/hosts.pre added tabulardata host
../library/roles/smartgears/r_connector/defaults/main.yml update rconnector version
../library/roles/smartgears/smartgears/defaults/main.yml update smartgears distribution version
2016-12-01 16:28:37 +01:00
Andrea Dell'Amico
14720d656d
library/roles/smartgears/smartgears/defaults/main.yml: Add defaults to ease the enabling of jmx support.
2016-11-23 19:18:28 +01:00
Andrea Dell'Amico
e49a49e4e2
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Always install the TokenGenerator.class file.
2016-11-16 11:39:11 +01:00
Andrea Dell'Amico
55cdf9feb1
library/roles/smartgears/smartgears: Put the list of scopes into a separate file.
2016-11-04 19:42:36 +01:00
Andrea Dell'Amico
f8d43ccf4b
library/roles/smartgears/smartgears: Do not store the user token inside the get-scopes script.
2016-11-04 18:13:33 +01:00
Andrea Dell'Amico
9adf0e8194
library/roles/smartgears/smartgears: do not remove the state when upgrading the service. Now to force a state removal the variabile smartgears_remove_state must be set to True.
2016-11-03 16:35:38 +01:00
Andrea Dell'Amico
b1e651bf79
library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix the get-scopes script: the correct arguments order is host token port destfile scope1 [scopen]
...
d4science-ghn-cluster/group_vars/rstudio/rstudio.yml: Set the correct scopes.
2016-10-27 18:04:33 +02:00
Andrea Dell'Amico
cc6a29ce51
library/roles/smartgears/smartgears: directly unarchive the distribution without saving the tar file locally.
2016-10-05 17:56:44 +02:00
Andrea Dell'Amico
4765fea33f
library/roles/smartgears/smartgears/files/TokenGenerator*: New TokenGenerator. Differences are only cosmetic.
2016-10-05 15:11:34 +02:00
Roberto Cirillo
d86db8ea5a
../library/roles/smartgears/smartgears/defaults/main.yml update smartgears version
2016-10-05 14:59:09 +02:00
Andrea Dell'Amico
4a9c7ddee3
library/roles/smartgears/smartgears: Fix the get-scopes script so that it takes the right port.
2016-10-05 10:36:10 +02:00
Andrea Dell'Amico
b7776c583a
library/roles/smartgears/smartgears: New TokenGenerator. Fix the container.xml template.
2016-10-04 16:58:05 +02:00
Andrea Dell'Amico
bd076197a3
library/roles/smartgears/smartgears/templates/container.xml.j2: Use the https port only if http_redirect_to_https is True.
2016-10-03 22:51:36 +02:00
Andrea Dell'Amico
9714cc66ee
library/roles/smartgears/smartgears/files/TokenGenerator.java: New version of the token generator.
2016-09-30 18:39:27 +02:00