Commit Graph

589 Commits

Author SHA1 Message Date
Andrea Dell'Amico 5a4d729503 Change the dataminer roles again so that the algorithms are always installed but the script that adds them is optiona. 2018-04-07 18:32:12 +02:00
Andrea Dell'Amico 1f2a02a727 dataminer: more modularity, add smartgears as dependency. 2018-04-06 17:21:38 +02:00
Andrea Dell'Amico 3cc7c27af8 Dataminer: Remove the list of installed algorithms after an upgrade to force a reinstall. 2018-04-05 16:14:37 +02:00
Andrea Dell'Amico d9dfa8ef23 dataminer: the dependency roles are now conditional. 2018-04-04 20:22:23 +02:00
Andrea Dell'Amico 9ef7736f10 Cleanup some dataminer tasks. Remove the old zip installation tasks. 2018-03-23 13:40:25 +01:00
Andrea Dell'Amico 7d8faf3cfa Fix the function that performs the svn update so that it exits immediately if there's nothing to do. 2018-03-16 15:30:23 +01: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
Roberto Cirillo c82b20e341 inventory/hosts.production fix plugin name
../library/roles/smartgears/social_data_indexer_se_plugin/defaults/main.yml fix variable name
2018-03-15 18:39:01 +01:00
Roberto Cirillo d09842f90e ../library/roles/smartgears/resource_checker_se_plugin/defaults/main.yml upgraded plugin version 2018-03-13 18:13:19 +01:00
Roberto Cirillo ce6bf35998 ../library/roles/smartgears/quota_service/defaults/main.yml fix quora_service_extension variable 2018-03-07 16:22:24 +01:00
Roberto Cirillo f11e9ec449 ../library/roles/smartgears/quota_service/tasks/main.yml fix quota_service_extension variable 2018-03-07 15:47:54 +01:00
Roberto Cirillo 61379b701f ../library/roles/smartgears/quota_service/defaults/main.yml fix quota_service_extension variable 2018-03-07 15:45:19 +01:00
Andrea Dell'Amico 6f5d8b47df library/roles/smartgears/r_connector/tasks/main.yml: Add a tag to only execute the task that installs the nslcd configuration. 2018-03-05 15:10:06 +01:00
Andrea Dell'Amico 10bcd7ca65 Add parameters to the r_connector nslcd template so that we can choose the tls connection type 2018-03-03 20:24:03 +01:00
Roberto Cirillo 6fceb578a2 group_vars/geonetwork_prod_wecafc_firms/geonetwork_prod_wecafc_firms.yml fix scope
group_vars/geoserver_prod_wecafc_firms/geoserver_prod_wecafc_firms.yml fix scope
group_vars/sharelatex_app/sharelatex_app.yml add scope
../library/roles/smartgears/home_library/defaults/main.yml update version
2018-02-26 12:57:34 +01:00
Andrea Dell'Amico 8af90a8ef8 library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Add a 'svn cleanup' before the update. 2018-02-24 10:28:24 +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 6d59fd862d group_vars/ckan_bb/ckan_bb.yml added vo scopes
group_vars/ckan_sobigdata/ckan_sobigdata.yml added vo scopes
group_vars/ckan_web_d4s/ckan_web_d4s.yml added vo scopes
inventory/hosts.dev added new host for is_exporter plugin
../library/roles/smartgears/is_exporter_se_plugin new role for uber-jar
2018-02-15 16:22:47 +01:00
Roberto Cirillo c067086dba Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2018-02-14 16:40:08 +01:00
Roberto Cirillo bdbd824131 ../library/roles/smartgears/accounting_aggregator_se_plugin add new role for uber-jar
group_vars/accounting_aggregator_se_plugin_dev/accounting_aggregator_se_plugin_dev.yml removed unused variables
group_vars/accounting_aggregator_se_plugin_prod/accounting_aggregator_se_plugin_prod.yml removed/commented unused variables
inventory/hosts.dev commented is-exporter plugin from smartexecutor1-d-d4s instance
2018-02-14 16:37:56 +01:00
Andrea Dell'Amico 0115c852e3 library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Fix the check of the lock file logic. See https://support.d4science.org/issues/11182 2018-02-14 12:48:24 +01:00
Andrea Dell'Amico 2f2a58dcce library/roles/smartgears/ckan_connector/templates/ckan-web.xml.j2: Set the hostname value in the same way is set into container.xml 2018-02-12 16:14:34 +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 cc9a426761 library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Fix the check_lock_file function. See https://support.d4science.org/issues/11079 2018-01-31 12:41:16 +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 2ea02e13ad Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2018-01-25 16:28:37 +01:00
Roberto Cirillo f5f52df75e ../library/roles/smartgears/sdmx_datasource_service add new role 2018-01-25 16:27:58 +01:00
Andrea Dell'Amico 14556c36a6 library/roles/smartgears/cmems_importer_se_plugin: The plugin is now a uber jar. 2018-01-25 15:47:31 +01:00
Andrea Dell'Amico abfbc08846 library/roles/smartgears/sis_geotk_dt_plugin/vars/main.yml: Do not enable data transfer here. 2018-01-25 15:47:08 +01:00
Andrea Dell'Amico 988eafbe75 library/roles/smartgears/sis_geotk_dt_plugin: More readable task names. Enable the data transfer service. 2018-01-25 15:12:19 +01:00
Andrea Dell'Amico b53378354f cmems_importer_se_plugin, oscar_importer_se_plugin: cleanup the playbooks. 2018-01-23 18:35:01 +01:00
Andrea Dell'Amico ebf413ff42 accounting-service: cleanup the tasks. 2018-01-23 11:31:03 +01:00
Luca Frosini 9a5a5ed61a Added playbook for cmems-importer-se-plugin see #11005 2018-01-23 10:09:21 +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 71d267e38d library/roles/smartgears/smartgears-service: Comprehensive role that installs all that's needed to have a running smartgears instance, via dependencies. 2018-01-16 17:41:29 +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 ea729161be library/roles/smartgears/grsf_publisher_ws/tasks/main.yml: Fix a typo. 2018-01-11 18:36:23 +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
Andrea Dell'Amico 6c11ced0c7 dataminer: add conda (and therefore python-env) as dependency. 2017-12-21 20:36:17 +01:00
daniele-pavia 78872533ad added the smartgears-container-home-library.yml playbook, fixed a couple of things to the smartgears-container-home-library role 2017-12-19 17:41:36 +01:00
Luca Frosini 065f5e3c12 Changed playbook to support new accounting-service 2017-12-19 16:20:18 +01:00
Luca Frosini db0e52b4fb Fixed task description 2017-12-19 15:32:36 +01:00
Luca Frosini a677b21302 Fixed task description 2017-12-19 15:31:31 +01:00
daniele-pavia c9bf8cf31e fixed wrong catalina_home 2017-12-19 11:33:18 +01:00
Roberto Cirillo df853a3c6b ../library/roles/smartgears/tabular_data/defaults/main.yml update service version 2017-12-18 11:07:03 +01:00
Roberto Cirillo 7ade8f73f8 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
../library/roles/smartgears/home_library/defaults/main.yml update service version
2017-12-18 11:04:14 +01:00
daniele-pavia aa6226f1a0 removed/changed references to shinyproxy, removed the token used as placeholder. minor fixes 2017-12-18 10:40:46 +01:00
Andrea Dell'Amico 0e549f6d22 meteo data importer: new download URL. 2017-12-17 15:12:25 +01:00
Andrea Dell'Amico 8efc0aca14 dataminer: install nscd when requested. 2017-12-15 18:08:17 +01:00
Andrea Dell'Amico 3d7c3b237d library/roles/smartgears/sis_geotk_dt_plugin/tasks/main.yml: Fix the unarchive task so that we execute it when the plugin directory was manually removed. 2017-12-15 17:39:26 +01:00
Roberto Cirillo 3d4d98cc4f group_vars/ckan_web_d4s/ckan_web_d4s.yml group_vars/dataminer_prototypes_ghost/dataminer_prototypes_ghost.yml group_vars/dm_pool_manager_proto/dm_pool_manager_proto.yml: added new scopes
../library/roles/smartgears/home_library/defaults/main.yml: update version
2017-12-14 11:07:03 +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 c05dd230c2 nginx template: proxy the tomcat manager when requested. See https://support.d4science.org/issues/10597 2017-12-06 18:24:11 +01:00
daniele-pavia 644f38958c added the smartgears container related roles to build a smartgears docker image 2017-12-06 12:26:14 +01:00
daniele-pavia b96c18c772 Merge branch 'master' of git://gitorious.research-infrastructures.eu/infrastructure-management/ansible-playbooks 2017-12-06 12:01:40 +01:00
Andrea Dell'Amico 78b6d12e5c increase the dataminer log history to 90 days by default 2017-11-29 15:46:10 +01:00
Andrea Dell'Amico 72920a9848 geoserver connector: fix the tags. 2017-11-29 15:34:21 +01:00
Roberto Cirillo b4a9e1e582 group_vars/dataminer_prototypes_ghost/dataminer_prototypes_ghost.yml add new scope
../library/roles/smartgears/fhn_manager/defaults/main.yml update service version
2017-11-29 11:18:24 +01:00
Andrea Dell'Amico e25582c61e Revert the gcube-app workaround, the real problem was found. 2017-11-28 13:08:13 +01:00
Andrea Dell'Amico 23ccb5f29b gcube-app.xml: the persistence location lable is 'persistence' by default, but can be changed if we want it different. See https://support.d4science.org/issues/10444 2017-11-27 18:05:18 +01:00
Andrea Dell'Amico aaf93fdf2c gcube-app.xml.j2: change 'persistence' with 'local-persistence'. That's controversial, I'm going to open a ticket about it. 2017-11-24 17:53:31 +01:00
Andrea Dell'Amico 39cf54e24a social-networking-library-ws: better use of maven_artifact. 2017-11-24 17:11:24 +01:00
Andrea Dell'Amico c0f06f440a r-connector: move the notify directive in the correct place. 2017-11-24 16:59:23 +01:00
Andrea Dell'Amico 478ad025f2 ckan-connector, r-connector, resource-registry: Remove the war file from tomcat/webapps when upgrading. 2017-11-24 16:56:24 +01:00
Andrea Dell'Amico 045ebf9416 r_connector: do not put the war file inside tomcat/webapps. 2017-11-24 16:45:44 +01:00
Andrea Dell'Amico b8f7bc795a ckan_connector: convert to maven_artifact. 2017-11-24 16:45:20 +01:00
Andrea Dell'Amico 694bf22832 gcube-app: Remove the double quotes around the description. 2017-11-24 16:10:47 +01:00
Andrea Dell'Amico 8e536a431f accounting_rstudio_se_plugin: Use 'latest' as package version and fix some wrong variables names. 2017-11-24 13:24:24 +01:00
Andrea Dell'Amico 74e5c832b4 library/roles/smartgears/is_exporter_se_plugin/tasks/main.yml: Add a missing 'block' statement. 2017-11-24 13:17:17 +01:00
Andrea Dell'Amico 501204253a Fixed the is_exporter_se plugin to make a better use of maven_artifact. 2017-11-23 19:17:03 +01:00
Andrea Dell'Amico 4b798d98e1 generic-smartgears-virtualhost: Fix a wrong if statement. 2017-11-23 12:50:33 +01:00
Andrea Dell'Amico 40ee8a6fc7 Add a special case for varnish in the smartgears nginx template. See https://support.d4science.org/issues/10147 2017-11-22 18:21:58 +01:00
Roberto Cirillo 58457b8285 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-11-17 17:28:56 +01:00
Roberto Cirillo a4b26717ee inventory/hosts.production add quota plugin host
smartgears-node-upgrade.yml, smartgears-node.yml add new role for quota plugin
2017-11-17 17:27:28 +01:00
Andrea Dell'Amico 14960384b2 sis_geotk_dt_plugin: Fix the file names in the various tasks. 2017-11-16 16:37:56 +01:00
Andrea Dell'Amico 098e645041 sis_geotk_dt_plugin: use the keep_name=yes variable to keep the version name of the plugin jar. 2017-11-16 16:37:56 +01:00
Andrea Dell'Amico a73b691545 sis_geotk_dt_plugin: We must download and install both the uber jar and the plugin jar. 2017-11-16 16:37:56 +01:00
daniele.pavia b81d4366e2 removed old smartgears-container, a different version will be added later 2017-11-13 16:38:46 +01:00
Roberto Cirillo 253de6b3b2 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

Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks
2017-11-09 18:41:55 +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
Andrea Dell'Amico 1cddd28d37 sis_geotk_dt_plugin: Manage the uber jar as an additional app plugin. See https://support.d4science.org/issues/10202 2017-11-09 18:37:28 +01:00
Andrea Dell'Amico e68e5a6fee catalina-app-conf: Simple role that installs a custom catalina app configuration. 2017-11-09 18:36:57 +01:00
Roberto Cirillo eeaf9aaf6e group_vars/sharelatex_app/sharelatex_app.yml add new scopes
group_vars/twittermon_dev/twittermon_dev.yml set to true variable twittermon_upgrade
smartgears-node-upgrade.yml, smartgears-node.yml add sharelatex connector role
../library/roles/smartgears/smart_executor/defaults/main.yml set version to latest
../library/roles/smartgears/twittermon_se_plugins/tasks/main.yml add teitter_se tag to remove plugin task
2017-11-03 09:56:44 +01:00
Andrea Dell'Amico 9ea478d684 home library: fix a typo. 2017-10-31 17:31:19 +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 71b54c7e05 is-sweeper-se-plugin: better use of the maven_artifact module. 2017-10-19 19:38:33 +02:00
Andrea Dell'Amico 4019916c68 IC proxy: better use of the maven_artifact plugin. 2017-10-19 19:30:58 +02:00