Commit Graph

138 Commits

Author SHA1 Message Date
Andrea Dell'Amico 65dbfd8bee set_jdk_home: add the 'smartgears_conf' task, fix the block that checks for Oracle JDK. See https://support.d4science.org/issues/16607 2019-05-02 11:23:37 +02:00
Andrea Dell'Amico 9354f4e483 Check if a jdk is installed and set jdk_java_home accordingly. See https://support.d4science.org/issues/16607 2019-04-30 13:03:07 +02:00
Andrea Dell'Amico 19b37c6d4c Add another level of indirection in the smartgears tomcat variables. See https://support.d4science.org/issues/16527. 2019-04-19 18:17:36 +02:00
Andrea Dell'Amico 6621c75cc2 Move the tomcat dependencies from smartgears-service to smartgears. 2019-04-08 17:13:36 +02:00
Andrea Dell'Amico 092794dfea smartgears: force the mode of the logback.xml file. 2019-04-05 13:33:07 +02:00
Andrea Dell'Amico bdbd6aa4dd Add a logger for the N52 class (dataminer). 2019-04-03 20:05:36 +02:00
Andrea Dell'Amico 99f51f02fa Split the smartgears base playbook. 2019-03-25 17:37:27 +01:00
Andrea Dell'Amico 6230a82b0f smartgears: list the directories and variables that must be readable by regular users. 2019-02-14 15:21:03 +01:00
Andrea Dell'Amico 9f41c8485a tomcat debugger: split the host and port variables. Reflect the changes in the smartgears tomcat configuration. 2019-01-14 12:23:12 +01:00
Andrea Dell'Amico f727202ead Add a new option to the container.xml file. Disabled by default. 2018-12-27 18:01:34 +01:00
Andrea Dell'Amico a8aed0978b library/roles/smartgears/smartgears/templates/logback.xml.j2: Add an explicit scan period, see https://support.d4science.org/issues/12964. 2018-11-30 21:26:34 +01:00
Roberto Cirillo 1755d47033 set smartgears version to latest 2018-10-30 14:48:33 +01:00
Andrea Dell'Amico dad0827eee Add the smartgears_tomcat_servername variable so that we can change the servername. 2018-10-25 12:35:09 +02:00
Roberto Cirillo 9905a5a8e7 added verify_checksum variable 2018-10-24 10:36:53 +02:00
Roberto Cirillo 4eb3cf7354 added new vo scope D4OS 2018-10-10 17:31:08 +02:00
Andrea Dell'Amico 3aa25d88a0 Remove some unused tasks. 2018-09-05 10:52:36 +02:00
Andrea Dell'Amico 1f3564b491 Introduce the new variable smartgears_force_remove_state and a task that removes the local state. 2018-09-05 10:52:36 +02:00
Andrea Dell'Amico 07ebea657c Refactor: fix all the 'when: variable is changed' occurrencies. 2018-08-09 18:48:09 +02:00
Andrea Dell'Amico 4901a70b5c library/roles/smartgears/smartgears/tasks/install-gcube-keys.yml: Install the keys as root and then change permissions. 2018-08-03 18:30:47 +02:00
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