Andrea Dell'Amico
1e5f6b6e30
data-transfer-service: expand the war file after the installation and setup the gcube-app.xml file.
2017-09-19 20:08:12 +02:00
Andrea Dell'Amico
fc6688b26d
smartgears data-transfer: expand the war file, because we need to put stuff inside.
2017-09-19 17:11:59 +02:00
Andrea Dell'Amico
d7a12eb375
Change the nginx smartgears template to add opencpu as a special case.
2017-09-19 15:13:57 +02:00
Andrea Dell'Amico
603cc237be
Fix the downloads dir creation. The ownership must be assigned to the gcube user.
2017-09-14 17:41:52 +02:00
Andrea Dell'Amico
8687fdab47
Add new tags to the task that creates the downloads directory so that we can use it without running all the smartgears role.
2017-09-14 13:30:25 +02:00
Andrea Dell'Amico
704f990d5c
Create a downloads directory inside the gcube home directory where to download all the smartgears related wars and jars.
2017-09-13 18:19:18 +02:00
Andrea Dell'Amico
be5ff553de
Restart the tomcat instance after a logback.xml update.
2017-09-05 13:09:16 +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
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
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
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
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
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
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
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
b5e2f43bd7
library/roles/smartgears/smart_executor: Fix the upgrade scenario.
...
library/roles/smartgears/smartgears: Fix the new token management.
d4science-ghn-cluster/group_vars/smart_genericworker_dev_devnext: The new token management needs a different scopes handling. And a new variable: smartgears_scopes.
2016-09-27 18:06:31 +02:00
Andrea Dell'Amico
e8ffed284b
library/roles/smartgears/smartgears: The new smartgears distributions are going to use the new authorization service. The container configuration changes heavily.
2016-09-27 15:35:33 +02:00
Andrea Dell'Amico
0a25209c25
library/roles/smartgears/install-gcube-key: Now we delete the unwanted keys.
2016-07-20 13:23:35 +02:00
Andrea Dell'Amico
ae8283094a
library/roles/smartgears: Simplify the smartgears template management. Add a conditional to handle the case where no VO is needed, see https://support.d4science.org/issues/4723 .
2016-07-14 12:40:31 +02:00
Andrea Dell'Amico
b02841191c
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: do not restart smartgears after running the log level management script: we need a way to know when a change was performed.
2016-07-08 17:38:13 +02:00
Roberto Cirillo
c787b44fc4
../library/roles/smartgears/smartgears/tasks/smartgears-app.yml fix change loglevel
2016-07-08 17:23:49 +02:00
Andrea Dell'Amico
ac277cb6af
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Fix the command that sets the logback log level.
2016-07-08 16:43:50 +02:00
Andrea Dell'Amico
965d6bf6ae
library/roles/ubuntu-deb-general/defaults/main.yml: Install xmlstarlet.
...
library/roles/smartgears: Change the default versions to the new production ones.
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Task that sets the loglevel. The default is WARN.
2016-07-07 17:39:27 +02:00
Andrea Dell'Amico
874ada60eb
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Fix the container.xml installation.
...
library/roles/smartgears/dataminer_app: More files needed.
2016-06-23 12:15:37 +02:00
Andrea Dell'Amico
49be6b992d
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Fix the shell command that set the permissions.
2016-06-21 20:41:38 +02:00
Andrea Dell'Amico
24e5f76098
library/roles/ghn-gcore, library/roles/smartgears: Move the ghn and smartgears roles from d4science-ghn-cluster to the shared library
2016-06-13 16:24:30 +02:00