Commit Graph

66 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 092794dfea smartgears: force the mode of the logback.xml file. 2019-04-05 13:33:07 +02:00
Roberto Cirillo 9905a5a8e7 added verify_checksum variable 2018-10-24 10:36:53 +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 f4a51bb17f Remove a conditional that can make the task fail. 2018-03-16 12:35:37 +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 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 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 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 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 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 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 47788be177 smartgears: Install the gcube root dev key in preprod too. 2017-07-20 17:41:42 +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
Roberto Cirillo a6927b06a2 ../library/roles/smartgears/smartgears/tasks/install-gcube-keys.yml added new VO keys 2017-04-28 17:23:53 +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 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 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 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 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