Commit Graph

362 Commits

Author SHA1 Message Date
Andrea Dell'Amico c0864e4e43 dataminer: Give the possibility to not install the algorithms updater cron job. 2017-09-19 14:17:37 +02:00
Roberto Cirillo d225d7704c Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-09-18 12:03:43 +02:00
Andrea Dell'Amico b011d82213 Correct another case of the algorithms-updater script. 2017-09-15 19:38:57 +02:00
Andrea Dell'Amico 56df697c0e Fix the ckan-connector-fixer.sh.j2 script. 2017-09-15 19:25:58 +02:00
Andrea Dell'Amico daeda765a1 Other fixes to library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2. 2017-09-15 19:25:06 +02:00
Andrea Dell'Amico f2196b3cf9 More fixes to the algorithms updater script. 2017-09-15 19:22:56 +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
Roberto Cirillo 5d3cc0a8f0 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-09-15 12:27:13 +02:00
Andrea Dell'Amico bdfcf211d9 Add a missing '-block' statement. 2017-09-15 12:26:38 +02:00
Roberto Cirillo 218aa3e3c2 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-09-15 12:20:14 +02:00
Andrea Dell'Amico 71d583d505 dm_pool_manager: add the ansible_ppa role as a dependency. Fix the maven_artifact behaviour. 2017-09-14 19:01:11 +02:00
Andrea Dell'Amico 0e94d276ec catalogue_ws: Convert to maven_artifact properly. 2017-09-14 18:45:17 +02:00
Andrea Dell'Amico 604733465e accounting_aggregator_se_plugin: Manage the app removal. 2017-09-14 18:40:17 +02:00
Andrea Dell'Amico e38cd4c569 ccounting_insert_storage_se: Manage the app removal. 2017-09-14 18:37:52 +02:00
Andrea Dell'Amico 4461e019f4 accounting_insert_rstudio_se_plugin: Manage the plugin removal. 2017-09-14 18:36:33 +02:00
Andrea Dell'Amico 6b4f08e912 gcube-oauth: Fix the install task. 2017-09-14 18:33:51 +02:00
Andrea Dell'Amico da6a90513a accounting-service: Manage the app removal. 2017-09-14 18:27:30 +02:00
Andrea Dell'Amico c2988484c5 gcube-oauth: Manage the app removal correctly. 2017-09-14 18:25:35 +02:00
Andrea Dell'Amico 7e6dc2efc4 Fix the gcube-oauth role. 2017-09-14 18:16:26 +02:00
Andrea Dell'Amico 29e43c5498 Fix a typo in the sis_geotk_dt_plugin role. 2017-09-14 17:43:36 +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
Roberto Cirillo ab9eb826cc Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-09-14 17:27:14 +02:00
Andrea Dell'Amico 6839589455 Add a task that removes the sis-geotk-plugin when it is not meant to be installed. 2017-09-14 17:25:23 +02:00
Andrea Dell'Amico fb99dba454 Add a role to manage the sis-geotk-plugin (data transfer). 2017-09-14 17:23:51 +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 7378e765f1 Fix the social-networking-library-ws role. See https://support.d4science.org/issues/9688 2017-09-14 17:05:14 +02:00
Roberto Cirillo bcadddef74 group_vars/dm_pool_manager*
group_vars/catalogue_ws_prod added variable for production environment

inventory/hosts.pre add new tabulardata node
inventory/hosts.production added new  nodes
2017-09-14 15:20:32 +02:00
Andrea Dell'Amico 11f5be1a83 dataminer: add variables that permit to change the algorithms installer run frequency. Default: 1 hour.
dataminer proto: run the algorithm installer every minute.
2017-09-14 14:18:22 +02:00
Andrea Dell'Amico 22632aa634 dataminer: Fix the algorithms installer script, in some situations it created duplicated lines in the file that lists the already installed algorithms.
dataminer: Download the distribution files into /home/gcube/downloads
2017-09-14 13:41:55 +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 30e59e6526 Add the accouting_rstudio_se_plugin role. See https://support.d4science.org/issues/9667. 2017-09-13 19:45:12 +02:00
Andrea Dell'Amico 0fdbc7dba8 Accounting service: more optimization to the role tasks. 2017-09-13 19:41:07 +02:00
Andrea Dell'Amico 99d0a519ff Convert the accounting_insert_storage_se_plugin role to maven_artifact and fix the upgrade scenario. 2017-09-13 18:53:04 +02:00
Andrea Dell'Amico a985775707 The accounting service role now uses the /home/gcube/downloads directory. 2017-09-13 18:41:39 +02:00
Andrea Dell'Amico 8892e0f257 Fix the accounting_aggregator_se_plugin upgrade. 2017-09-13 18:24:31 +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 1aad034435 Fix the accounting-service upgrade case. 2017-09-13 18:13:15 +02:00
Andrea Dell'Amico e0fa10319d Dataminer: remove the dataminer war when the new one has been downloaded from maven. 2017-09-13 16:35:12 +02:00
Andrea Dell'Amico d1597d1784 dataminer: Remove the old algorithms installer when a new distribution has been downloaded from maven. 2017-09-13 16:33:16 +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 84fe5ff968 library/roles/smartgears/dataminer_app: Install the algorithms importer archive, using maven_artifact. 2017-09-12 17:18:00 +02:00
Andrea Dell'Amico 86733fa6c6 library/roles/smartgears/accounting_aggregator_se_plugin/tasks/main.yml: Remove the old get_url task. 2017-09-12 17:10:44 +02:00
Andrea Dell'Amico 901b66e536 Add a broken role for the accounting_rstudio_se_plugin. 2017-09-12 16:52:46 +02:00
Andrea Dell'Amico aff5671199 Fix the accounting_aggregator_se_plugin role. 2017-09-12 16:51:59 +02:00
Andrea Dell'Amico 7d1dda3e32 Fix a typo. 2017-09-12 15:59:56 +02:00
Luca Frosini de239a88f3 Using snapshot version in production accounting-aggregator 2017-09-12 15:57:02 +02:00
Andrea Dell'Amico 02d74065cb library/roles/smartgears/dataminer_app/templates/wps-config-fixer.j2: Set the provided hostname. 2017-09-12 15:35:27 +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 d617ada1ec Remove some duplicate variables. 2017-09-12 15:35:27 +02:00