Andrea Dell'Amico
202340fe65
Adapt to the new variables. Add a task that removes the old keys.
2018-07-02 20:14:28 +02:00
Andrea Dell'Amico
084eaae1d2
Fix some mistakes in the script, better logging.
2018-03-16 12:36:01 +01:00
Andrea Dell'Amico
f4a51bb17f
Remove a conditional that can make the task fail.
2018-03-16 12:35:37 +01:00
Andrea Dell'Amico
36852c7e98
library/roles/smartgears/smartgears/templates/get-scopes.j2: Heavily refactor to manage all the scenarios correctly. See https://support.d4science.org/issues/11169
2018-03-15 19:14:04 +01:00
Andrea Dell'Amico
9b59689a87
library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix a typo.
2018-02-22 10:46:49 +01:00
Andrea Dell'Amico
a02ebd8290
library/roles/smartgears/smartgears/templates/get-scopes.j2: Request the scopes for the correct hostname.
2018-02-22 10:42:47 +01:00
Andrea Dell'Amico
e6f3f9d927
library/roles/smartgears/smartgears/templates/logback.xml.j2: Fix the date that's written into the log lines. See https://support.d4science.org/issues/11201 .
2018-02-16 14:42:32 +01:00
Roberto Cirillo
1b1f8a85f8
removed Install the script that manages the smartgears loglevel, Change the smartgears log level from: ../library/roles/smartgears/smartgears/tasks/smartgears-app.yml, roles/smartgears-conf/tasks/smartgears-app.yml
...
deleted some unused template files: roles/smartgears-conf/templates/smartgears-nrpe.cfg.j2, roles/smartgears-conf/templates/tomcat-instance-default.j2
2018-02-08 15:12:42 +01:00
Andrea Dell'Amico
dd74dd07ce
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Fix another bit of the smartgears playbook. See https://support.d4science.org/issues/11095
2018-02-07 19:16:37 +01:00
Andrea Dell'Amico
e0fc0c8e63
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Fix the task that removes the old smartgears distributions.
2018-02-07 12:46:51 +01:00
Andrea Dell'Amico
42e314b836
library/roles/smartgears/smartgears/defaults/main.yml: Use 'latest' as smartgears version.
2018-02-07 12:14:30 +01:00
Andrea Dell'Amico
dc3d36fb00
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Quote the stopContainer.sh shell command.
2018-01-31 12:44:41 +01:00
Andrea Dell'Amico
bfd38769b8
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Write the smartgears version into a file named SMARTGEARS_VERSION
2018-01-29 19:58:58 +01:00
Roberto Cirillo
f8491716be
group_vars/ckan_bb/ckan_bb.yml add new scopes
...
group_vars/sdmx_datasource_dev/sdmx_datasource_dev.yml app context changed
../library/roles/smartgears/smartgears/tasks/smartgears-app.yml removed smargears_conf tag from "get the smart distro" and "Remove the smartgears-distribution files"
2018-01-29 18:18:20 +01:00
Andrea Dell'Amico
c4e4e1a1c5
library/roles/smartgears/smartgears: Come up with a reliable command that finds the correct smartgears version to put into container.xml. See https://support.d4science.org/issues/10670
2018-01-25 20:06:03 +01:00
Andrea Dell'Amico
24b25e0b06
library/roles/smartgears/smartgears/tasks/main.yml: include -> import_tasks
2018-01-25 18:39:50 +01:00
Roberto Cirillo
3cda0c4334
add container scopes and update service versions on accounting_service_dev dataminer_prototypes_ghost dm_pool_manager_proto socialnetworking_pre smartgears
...
add ignore error if the distro directory is not present under download/ folder
remove vo scopes from ckan instances ckan_bb ckan_iotc_ss3 ckan_sobigdata ckan_web_d4s
2018-01-17 16:44:23 +01:00
Andrea Dell'Amico
026107b45d
library/roles/smartgears/smartgears: Add tomcat-multiple-instances as dependency.
2018-01-16 15:36:17 +01:00
Andrea Dell'Amico
b55c69f005
Fix the smartgears logback configuration settings. See https://support.d4science.org/issues/9708
2018-01-13 18:43:54 +01:00
Andrea Dell'Amico
7bdfd8ce07
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Fix the task that removes the old smartgears distributions. See https://support.d4science.org/issues/10711
2018-01-04 16:13:11 +01:00
Roberto Cirillo
5c50ce19e6
update service version dm_pool_manager home_library smartgears social-networking-library-ws
...
add new scopes group_vars/dataminer_prototypes_ghost/dataminer_prototypes_ghost.yml
2017-12-11 17:05:15 +01:00
Andrea Dell'Amico
78b6d12e5c
increase the dataminer log history to 90 days by default
2017-11-29 15:46:10 +01:00
Roberto Cirillo
ebd0162ed7
group_vars/dataminer_prototypes_ghost/dataminer_prototypes_ghost.yml added new scopes
...
group_vars/dm_pool_manager_proto/dm_pool_manager_proto.yml added new scopes
group_vars/smartgears_workspace/smartgears_workspace.yml added appender
../library/roles/ansible_ppa/tasks/ansible-packages.yml added some cache options to ansible package task
../library/roles/smartgears/dm_pool_manager/defaults/main.yml upgrade service version
../library/roles/smartgears/dm_pool_manager/tasks/main.yml commented task for installing service.properties file
../library/roles/smartgears/home_library/defaults/main.yml upgrade version
../library/roles/smartgears/smartgears/defaults/main.yml upgrade version
../library/roles/smartgears/tabular_data/defaults/main.yml upgrade version
2017-11-09 18:38:26 +01:00
Roberto Cirillo
30169b5998
../library/roles/smartgears/smartgears/templates/logback.xml.j2 added AnalysisLogger appender for dataminer instances
2017-10-30 15:34:03 +01:00
Roberto Cirillo
37698dff6d
group_vars/twittermon_dev/twittermon_dev.yml add smartgears_appender_list configuration
...
group_vars/twittermon_plugins/twittermon_plugins.yml add smartgears_appender_list configuration ans set smartgears_nginx_expose_tomcat_logs to True
../library/roles/smartgears/smartgears/templates/logback.xml.j2 add custom appenders configuration
../library/roles/smartgears/smartgears/tasks/smartgears-app.yml fix tag smartgears_conf
2017-10-25 17:49:42 +02:00
Andrea Dell'Amico
09aab98db3
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Add a new tag, so that we can install the smartgears distribution without touching anything else.
2017-10-06 18:22:00 +02:00
Andrea Dell'Amico
bb158fce51
library/roles/smartgears/smartgears/templates/get-scopes.j2: Do not fail when there is no token and the node must run on all the VOs.
2017-10-03 12:30:47 +02:00
Andrea Dell'Amico
ad52aef235
get-scopes: Fix a typo.
2017-10-02 16:56:53 +02:00
Andrea Dell'Amico
280ed19764
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Fix the check that we use to find the distribution directory.
2017-10-02 15:20:10 +02:00
Andrea Dell'Amico
945c5a61ca
smartgears: do not stop the service if it's the first installation.
2017-09-29 18:06:45 +02:00
Andrea Dell'Amico
d3b6789fbb
smartgears: Use the time and size logback appender by default.
2017-09-29 13:28:31 +02:00
Roberto Cirillo
bc0c02c77b
../library/roles/smartgears/smartgears/defaults/main.yml update smartgears version
2017-09-29 12:53:51 +02:00
Andrea Dell'Amico
94fae10e18
smartgears: Set the real smartgears version into container.xml, when using 'latest' from maven.
2017-09-28 16:28:44 +02:00
Andrea Dell'Amico
7186cb3c1a
smartgears: Try some workaround to be able to use 'latest' as a version.
2017-09-28 15:41:56 +02:00
Andrea Dell'Amico
436c7d6829
smartgears distribution: Use maven_artifact to download the distribution file.
2017-09-27 19:11:35 +02:00
Andrea Dell'Amico
2d909ff031
smartgears get-scopes: try to manage all the scenarios correctly.
2017-09-22 19:23:20 +02:00
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
25eebdf57f
Fix a typo.
2017-09-15 13:02:18 +02:00
Andrea Dell'Amico
ce44423955
library/roles/smartgears/smartgears/defaults/main.yml: add a default for the catalina (tomcat) tmp directory, so that we can change it when needed.
2017-09-15 12:52:03 +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
ea49eb993a
Move the data_transfer variables from the nginx role to the main smartgears one.
2017-09-14 17:23:17 +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
e9e8fa5c7c
Fix the logback template when we use the SizeAndTimeBasedRollingPolicy, see https://support.d4science.org/issues/9576
2017-09-12 18:25:43 +02:00
Andrea Dell'Amico
7d1dda3e32
Fix a typo.
2017-09-12 15:59:56 +02:00
Andrea Dell'Amico
7ea507790f
Change the default listen host for tomcat to 127.0.0.1.
...
Change the virtualhost filename to a fixed one plus a numeric ID. So if the hostname changes, we do not duplicate files.
2017-09-12 15:35:27 +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
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