Commit Graph

549 Commits

Author SHA1 Message Date
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
Roberto Cirillo ff78f5611e group_vars/socialnetworking_dev/socialnetworking_dev.yml update service version
../library/roles/smartgears/dm_pool_manager/tasks/main.yml add condition on first checkout task
../library/roles/smartgears/social-networking-library-ws/defaults/main.yml update service version
2017-09-12 12:28:51 +02:00
Roberto Cirillo 33a9d97173 ../library/roles/smartgears/dm_pool_manager/defaults/main.yml update service version 2017-09-08 15:23:30 +02:00
Roberto Cirillo dcb5aac7bb ../library/roles/smartgears/sdi_service/defaults/main.yml update service version 2017-09-07 18:20:33 +02:00
Roberto Cirillo 29c79e59f5 group_vars/dm_pool_manager_pre/vault.yml encripted svn password
../library/roles/smartgears/dm_pool_manager/tasks/main.yml manage additional files and packages for dm-pool-manager service
2017-09-07 12:23:27 +02:00
Roberto Cirillo 04a116f78d ../library/roles/smartgears/dm_pool_manager/tasks/main.yml add task for managing web.xml file
../library/roles/smartgears/dm_pool_manager/templates/web.xml.j2 add web.xml template file
2017-09-05 18:58:21 +02:00
Roberto Cirillo e4c251cdb2 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-09-05 18:35:13 +02:00
Roberto Cirillo 3411c5086e ../library/roles/smartgears/dm_pool_manager/templates/service.properties.j2 add template file 2017-09-05 18:34:21 +02:00
Roberto Cirillo 23f98f8845 group_vars/dm_pool_manager_pre/dm_pool_manager_pre.yml set environmental variable
smartgears-node-upgrade.yml set upgrade variable for dm-pool-manager
../library/roles/smartgears/dm_pool_manager/tasks/main.yml add task for manage additional files
../library/roles/smartgears/dm_pool_manager/defaults/main.yml add additional variables
2017-09-05 18:32:31 +02:00
Andrea Dell'Amico d9569fda96 Fix a path. 2017-09-05 13:32:49 +02:00
Andrea Dell'Amico 12608c7357 Fix a task description. 2017-09-05 13:28:47 +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
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 0908b0bbd6 Modify the algorithms updater script so that it can manage algorithms upgrades. See https://support.d4science.org/issues/9562 2017-09-04 19:39:08 +02:00
Roberto Cirillo 7258e12d3b dm-pool-manager update version
smartgears update version
2017-09-04 12:00:05 +02:00
Roberto Cirillo 973a21d0d1 update version to sdi-service and social-networking-library-ws services 2017-08-31 14:32:25 +02:00
Roberto Cirillo d28a3e8036 dm-pool-manager, tabulardata, grsf-publisher: update service version 2017-08-31 11:48:12 +02:00
Andrea Dell'Amico 7ac767247f The NRPE handler will run a service restart and not a 'start'. 2017-08-28 19:54:14 +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 2dc37dff40 library/roles/smartgears/home_library/defaults/main.yml: Remove a duplicate variable. 2017-08-17 14:22:18 +02:00
Roberto Cirillo e0fce456e8 smartgears-node-upgrade.yml fix check on openjdk in the following way: openjdk_install is defined and openjdk_install
smartgears-node.yml added check on opnejdk installation as done for smartgears-node-upgrade
  ../library/roles/smartgears/grsf_publisher_ws/defaults/main.yml update grsf_publisher service version
2017-08-01 17:37:02 +02:00
Andrea Dell'Amico 661ecfb79b Fix a wrong variable. 2017-07-26 20:50:30 +02:00
Andrea Dell'Amico acf5253447 bootstrap.properties.txt must be bootstrap.properties instead. 2017-07-26 20:00:34 +02:00
Andrea Dell'Amico 6118b10902 Configure the dev workspace repository servers and the load balancer in front of them. Cleanup some configurations that are not used anymore. 2017-07-26 19:50:26 +02:00
Andrea Dell'Amico d0b8b42a93 Set the jackrabbit cluster node ID. 2017-07-26 19:50:26 +02:00
Andrea Dell'Amico ed19ccf2bd home library, new version. 2017-07-26 17:33:26 +02:00
Andrea Dell'Amico 925d545be2 When there's nothing to do, exit without trying to build the script. 2017-07-26 17:17:06 +02:00
Andrea Dell'Amico 27f3a4f000 Add to the workspace configuration all the variables needed to configure jackrabbit and the database. 2017-07-25 21:03:15 +02:00
Andrea Dell'Amico 5d5bc425c5 We need to manage two jackrabbit configuration files as templates. 2017-07-25 20:40:17 +02:00
Andrea Dell'Amico c75648ffba We need to install a templated web.xml for the dataminer app. 2017-07-25 18:37:59 +02:00
Andrea Dell'Amico 1b36211240 Fix the script so that the algorithms that have spaces in their name are handled correctly. 2017-07-25 18:29:54 +02:00
Andrea Dell'Amico 9d8ae525a2 Fix the algorithms-updater script again. 2017-07-25 17:51:26 +02:00
Andrea Dell'Amico 92cdb68b37 Modify and option of addAlgorithms so that it does not recompile everything. 2017-07-25 17:32:31 +02:00
Andrea Dell'Amico 0ea789571b Fix the dataminer algorithms updater script: it searched the lock file in the wrong place. 2017-07-25 15:59:47 +02:00
Andrea Dell'Amico 9d88f841a3 Change the CORS snippet again and introduce a new variable so that the smartgears nginx template is now backward compatible and still able to cope with the CORS settings needed by some geoserver. 2017-07-22 15:52:20 +02:00
Andrea Dell'Amico db61e24d4e Change the smartgears nginx virtualhost to be compatible with the new CORS configuration. 2017-07-22 15:12:47 +02:00
Andrea Dell'Amico 032f49040a Do not enable CORS on the data-transfer. 2017-07-21 18:47:38 +02:00
Roberto Cirillo d6d6960445 ../library/roles/smartgears/grsf_publisher_ws/defaults/main.yml update grsf service version 2017-07-21 16:36:37 +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 14758bbc60 library/roles/smartgears/oscar_importer_se_plugin/tasks/main.yml: The package must be installed as root. 2017-07-20 17:03:27 +02:00
Roberto Cirillo f9b037000d Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-07-20 16:06:38 +02:00
Roberto Cirillo 7581efd1ec ../library/roles/smartgears/smartgears/defaults/main.yml update smartgears version 2017-07-20 16:05:47 +02:00
Andrea Dell'Amico 12a7a03c26 library/roles/smartgears/oscar_importer_se_plugin/tasks/main.yml: Add a task to install the required package. 2017-07-20 15:39:40 +02:00
Andrea Dell'Amico fcda3ef2b1 library/roles/smartgears/oscar_importer_se_plugin: Role that installs the oscar importer smart executor plugin. 2017-07-20 15:32:14 +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
Andrea Dell'Amico 68ad035c61 library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Fix a typo. 2017-07-20 15:04:55 +02:00
Andrea Dell'Amico 2c859a7f49 brary/roles/smartgears/smartgears-nginx-frontend: Optionally expose the gcube logs via http.
d4science-ghn-cluster: Expose the gcube logs on the dataminer servers.
2017-07-20 13:50:38 +02:00
Roberto Cirillo c305b4b60a group_vars/resource_checker_se_plugin_dev/resource_checker_se_plugin_dev.yml set nagios variable
smartgears-node-upgrade.yml set new upgrade variables
./library/roles/smartgears/resource_checker_se_plugin/defaults/main.yml update version
../library/roles/smartgears/smart_executor/defaults/main.yml update version
2017-07-20 10:40:57 +02:00
Andrea Dell'Amico 1660fb37b0 library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Better logging. 2017-07-19 19:18:49 +02:00
Andrea Dell'Amico 9450bfe6b1 library/roles/smartgears/resource_checker_se_plugin/tasks/main.yml: Do not install the nagios check if nagios is not enabled on the machine. 2017-07-18 14:39:57 +02:00
Roberto Cirillo 30a6cc508b inventory/hosts.pre added is-exporter, insert-storage, insert-rstudio plugins 2017-07-18 09:45:28 +02:00
Andrea Dell'Amico 4eb4c240a2 library/roles/smartgears/meteodataimporter_se_plugin/defaults/main.yml: New version of the jar file. 2017-07-17 16:37:58 +02:00
Andrea Dell'Amico 1fc1d05687 library/roles/smartgears/smartgears-nginx-frontend: Fix the nginx template so that whn-manager is always added. See https://support.d4science.org/issues/9209 2017-07-07 13:42:33 +02:00
Andrea Dell'Amico 934ba8d8ef library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: expose whn-manager over http even if we redirect the main apps over https. 2017-07-04 18:17:13 +02:00
Andrea Dell'Amico 83c13df9cc library/roles/smartgears/geoserver_connector: Geoserver smartgears connector. 2017-07-03 19:38:52 +02:00
Andrea Dell'Amico fd0c64de55 library/roles/smartgears/gcubeapp-setup: The file gcube-handlers.xml is now installed starting from a template, when needed. 2017-07-03 19:17:25 +02:00
Andrea Dell'Amico 7468678ae7 d4science-ghn-cluster, library/roles/smartgears/meteodataimporter_se_plugin: Add the meteo data importer smartexecutor plugin. 2017-07-03 12:44:45 +02:00
Andrea Dell'Amico 11b2ad9d51 d4science-ghn-cluster, library/roles/smartgears/twittermon_se_plugins: Twittermon smartexecutor plugins and php tools, see https://support.d4science.org/issues/8911 2017-06-28 18:11:35 +02:00
Andrea Dell'Amico 1aba1accde library/roles/smartgears: cleanup. Remove lots of duplicate handlers. 2017-06-28 16:33:49 +02:00
Andrea Dell'Amico ae17604335 library/roles/smartgears/resource_checker_se_plugin/templates/check_missing_resources.sh.j2: Go to critical if the resources file is older than two hours. It means that the service is not working. 2017-06-27 16:04:49 +02:00
Andrea Dell'Amico 8b0bc4c596 library/roles/smartgears/smartgears_egi_image/templates/smartgears-setup.sh.j2: Fix an undefined variable. 2017-06-27 13:37:14 +02:00
Andrea Dell'Amico f711a7b8b1 d4science-ghn-cluster, library/roles: Refactor smartgears/gcubeapp-setup and change all the use cases accordingly. 2017-06-26 16:07:43 +02:00
Andrea Dell'Amico bf9eaa3309 library/roles/smartgears/gcubeapp-setup: Fix the case where multiple apps are involved. 2017-06-26 14:43:39 +02:00
Andrea Dell'Amico baf4e046ce library/roles/smartgears/gcubeapp-setup/tasks/main.yml: Do not assume that the app context is lowercase. 2017-06-26 13:09:43 +02:00
Andrea Dell'Amico 44e66626cf library/roles/smartgears/home_library: Convert to maven_artifact. 2017-06-23 13:39:30 +02:00
Andrea Dell'Amico d3154f5d95 library/roles/smartgears/dataminer_app: Modify the cron job that updates the algorithms. Now it also runs a tool that configures new algorithms. 2017-06-22 14:39:07 +02:00
Andrea Dell'Amico dfcc84773c library/roles/smartgears/accounting-service: Converto the accounting-service role to maven_artifact. 2017-06-12 17:46:09 +02:00
Andrea Dell'Amico a990b8f6a8 ibrary/roles/smartgears/resource_registry: Convert the role to maven_artifact. 2017-06-12 17:09:26 +02:00
Roberto Cirillo 5881330f82 group_vars/data/main.yml set jdk8
inventory/hosts.production add tabulardata1 new host
./library/roles/smartgears/accounting_aggregator_se_plugin/defaults/main.yml
../library/roles/smartgears/social-networking-library-ws/defaults/main.yml se new artifact version
2017-06-12 11:21:52 +02:00
Andrea Dell'Amico ad08241d76 library/roles/ckan, library/roles/smartgears/ckan_connector: Now it is possible to choose to not initialize the database and create the admin user. 2017-06-07 16:30:35 +02:00
Andrea Dell'Amico 167cb17a88 library/roles/smartgears/resource_checker_se_plugin: Add the nagios check to monitor the resources status. 2017-06-02 15:34:32 +02:00
Andrea Dell'Amico 47c3755c0a library/roles/smartgears/smartgears_egi_image/templates/smartgears-setup.sh.j2: Fix a mistake in the function that sets the container.xml permissions. It screwed the home directory ones. 2017-06-01 13:19:53 +02:00
Roberto Cirillo 09c9663ae5 modified: group_vars/accounting_service_dev/accounting_service_dev.yml
Upgrade versions for gCube 4.5 and refactorying smart-executor on preprod environment
2017-05-26 11:40:21 +02:00
Roberto Cirillo 744c72e1b9 inventory/hosts.dev added EGI instances
roles/haproxy_frontend/templates/haproxy-dataminer.cfg.j2 added EGI instances
../library/roles/smartgears/smartgears/defaults/main.yml update smartgears distribution
2017-05-25 10:57:12 +02:00
Luca Frosini 3bc77ae47f Fixing smart-executor and plugins script 2017-05-23 11:52:17 +02:00
Roberto Cirillo f9e052db71 smartgears-node-upgrade.yml added accounting_aggregator
../library/roles/smartgears/accounting_aggregator_se_plugin/defaults/main.yml
../library/roles/smartgears/accounting_aggregator_se_plugin/tasks/main.yml   merge accounting aggregator and accounting_insert_storage_plugin

../library/roles/smartgears/resource_checker_se_plugin/defaults/main.yml update version
2017-05-19 09:42:18 +02:00
Roberto Cirillo 79718cf062 ../library/roles/smartgears/social_data_indexer_se_plugin/defaults/main.yml update plugin version 2017-05-15 16:17:42 +02:00
Andrea Dell'Amico 62deaafb2c library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Install a cron job that performs a 'svn update' of the algorithms repository. 2017-05-15 13:02:13 +02:00
Andrea Dell'Amico 9c36221e11 library/roles/smartgears/dataminer_app: Install the catalina configuration to extend the classpath. 2017-05-12 19:28:09 +02:00
Andrea Dell'Amico 2f4d7656be d4science-ghn-cluster, library/roles/smartgears/smartgears_egi_image: Changes to the EGI image configuration. 2017-05-12 15:06:47 +02:00
Andrea Dell'Amico 9bb4f896f9 library/roles/smartgears/dataminer_app/defaults/main.yml: Fix a typo. 2017-05-12 13:43:39 +02:00
Andrea Dell'Amico 766a276cc2 library/roles/smartgears/dataminer_app: The war and zip versions of dataminer need to cohesist for the time being. 2017-05-12 13:24:01 +02:00
Andrea Dell'Amico 660341fd56 library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Copy the algorithms inside the WPS WEB-INF/lib directory. It's temporary, until Lucio finds a way to dynamically load them. 2017-05-11 20:29:08 +02:00
Andrea Dell'Amico f4bbb267ab library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix the case when we are upgrading but we cannot get the state from the IS. In that case, we request new tokens to the IS. 2017-05-11 17:45:23 +02:00
Andrea Dell'Amico 938f661793 library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Fix the subversion options so the task does not fail if the repository is already present. 2017-05-10 18:21:38 +02:00
Andrea Dell'Amico f2f94af17c d4science-ghn-cluster/group_vars/dataminer_devnext/dataminer_devnext.yml: Install from gcube-snapshots.
library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Do not link the algorithms inside WEB-INF/lib: it does not work.
2017-05-10 18:21:38 +02:00
Luca Frosini fc2d47e2ef Fixing variable 2017-05-09 18:26:39 +02:00
Luca Frosini c428bb90b0 Fixed latest verison to lowercase 2017-05-09 18:19:50 +02:00
Luca Frosini 6a9758c159 Changed playbook for is-sweepr and is-exporter smarte-executor plugin. They now use maven coordinates and redefine the smartgears_gcube_repository 2017-05-09 17:59:56 +02:00
Andrea Dell'Amico 9f0f5309ba library/roles/smartgears/smartgears/defaults/main.yml: Add the smartgears_gcube_repository variable, see https://support.d4science.org/issues/8466 2017-05-09 17:29:53 +02:00
Andrea Dell'Amico 64a3476e0b library/roles/smartgears/gcubeapp-setup/templates/gcube-app.xml.j2: Fix a wrong variable. 2017-05-09 17:11:48 +02:00
Andrea Dell'Amico 861672bab1 d4science-ghn-cluster/group_vars/geonetwork_prod_smartgears: Install the geonetwork app, for real.
library/roles/smartgears/gcubeapp-setup: Fix the installation path.
2017-05-09 17:11:48 +02:00
Luca Frosini 6d9638b49d Trying to add is-exporter-se-plugin to node17 2017-05-09 17:01:54 +02:00
Andrea Dell'Amico d393a18363 library/roles/smartgears/gcubeapp-setup: More parameters in the gcube-app.xml template. 2017-05-09 14:25:57 +02:00
Andrea Dell'Amico a5f3856141 library/roles/smartgears/dataminer_app: Fix a wrong variable name. Remove a now unused script. 2017-05-09 14:25:56 +02:00
Andrea Dell'Amico 08220160ad library/roles/smartgears/dataminer_app: Move from the zip file to a war. Install the algorithms checking them out from the subversion repository. 2017-05-09 14:25:56 +02:00
Andrea Dell'Amico cc7c04342a library/roles/smartgears/sharelatex_connector/templates/sharelatex-web.xml.j2: Fix a variable. 2017-05-09 14:25:56 +02:00
Andrea Dell'Amico 83f02b9292 library/roles/smartgears/ic_proxy/tasks/main.yml: Fix a typo. 2017-05-09 14:25:56 +02:00
Andrea Dell'Amico 8a8005a484 library/roles/smartgears/catalogue_ws: role to install the catalogue ws service. 2017-05-05 13:07:03 +02:00
Andrea Dell'Amico 325efe76a3 library/roles/smartgears/sdi_service/handlers/main.yml: A handler file is not needed here. 2017-05-05 13:06:43 +02:00
daniele.pavia 550254e96a moved the gcore roles around as per mail exchange with Andrea 2017-05-04 17:08:57 +02:00
Roberto Cirillo 1ee36151a4 group_vars/smartexecutor_dev/smartexecutor_dev.yml change repository to staging
group_vars/smartexecutor_dev_devsec/smartexecutor_dev_devsec.yml upgrade distro version (from staging)
group_vars/social_data_indexer_se_plugin_dev/social_data_indexer_se_plugin_dev.yml commented snapshot version
../library/roles/smartgears/smart_executor/defaults/main.yml update smart-executor version
./library/roles/smartgears/social_data_indexer_se_plugin/defaults/main.yml update plugin version
2017-05-04 12:46:39 +02:00
Roberto Cirillo de940474ef ../library/roles/smartgears/dataminer_app/tasks/install-gcube-key.yml added new vo keys 2017-05-02 13:48:45 +02:00
Roberto Cirillo 9c5ea22569 ../library/roles/smartgears/dm_pool_manager/defaults/main.yml upgrade revision number 2017-05-02 11:18:03 +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
Roberto Cirillo 30adee8788 inventory/hosts.production host changed from sdi-p-d4s to sdi-d4s
../library/roles/smartgears/smartgears/defaults/main.yml fix sintax error
2017-04-28 17:14:08 +02:00
Roberto Cirillo 312ca95eec group_vars/all/gcube_vault_keys.yml added keys for new VOs Edison and SmartArea
./library/roles/smartgears/smartgears/defaults/main.yml added new VO definition for the following VOs Edison OpenAIRE
2017-04-28 11:09:45 +02:00
Roberto Cirillo f005f5b224 ../library/roles/smartgears/dm_pool_manager/defaults/main.yml added new service dm-pool-manager 2017-04-28 10:36:18 +02:00
Roberto Cirillo a85ddf4f9e ../library/roles/smartgears/grsf_publisher_ws/defaults/main.yml upgrade service version
group_vars/smart_grsf_dev/smart_grsf_dev.yml add smartgears production distro variable
2017-04-21 17:58:30 +02:00
Andrea Dell'Amico 8e44ea5b13 library/roles/smartgears/smart_executor/defaults/main.yml: Install the latest smartexecutor version by default. 2017-04-20 19:02:21 +02:00
Andrea Dell'Amico 33eafc19c9 library/roles/smartgears/sdi_service: Role that installs the sdi service webapp. 2017-04-20 19:00:20 +02:00
Andrea Dell'Amico 5fa669d71b library/roles/smartgears/resource_checker_se_plugin: Add a role for the resource checker se plugin. 2017-04-20 17:23:58 +02:00
Andrea Dell'Amico 74482a285d library/roles/smartgears/smartgears/defaults/main.yml: Add a smartgears_global_base_url variable that can be used to replace the base URLs placed everywhere. 2017-04-20 16:56:48 +02:00
Andrea Dell'Amico 9d79eaa89a library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix the get-scopes so that it requests tokens for the port 80 even when we redirect to https. 2017-04-12 15:34:41 +02:00
Andrea Dell'Amico 2681e0574d library/roles/smartgears/smart_executor: Refactored to use the maven_artifact module. 2017-04-11 18:36:45 +02:00
Andrea Dell'Amico 2238f7813c library/roles/smartgears/smartgears/templates/container.xml.j2: Do not set the https port if the https redirection is enabled. smartgears needs to still publish itself on port 80. 2017-04-11 17:37:50 +02:00
Luca Frosini 5c30b79437 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-04-05 14:36:06 +02:00
Luca Frosini f19fbcf778 Upgraded resource registry config 2017-04-05 14:36:02 +02:00
Tommaso Piccioli cdb4c7ab17 new accounting service
new garr dataminer nodes added to jackrabbit iptables
2017-03-31 23:09:48 +02:00
Tommaso Piccioli 68c0687eec new workspace-repository-prod node for jackrabbit (postgres on workspace-repository-pg) 2017-03-30 19:13:22 +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 c2d493d83e library/roles/smartgears/r_connector: New version that fixes the 'missing userconfig.csv' bug. The rusersadd script also readds the .Rprofile if it's missing. 2017-03-29 17:30:12 +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 8c3a37c5bc library/roles/smartgears/smartgears: Changes to the container.xml template and to the default variables to manage the case when we need authorization for all the VREs. 2017-03-27 17:39:44 +02:00
Andrea Dell'Amico 23a75f861a library/roles/smartgears/gcubeapp-setup: Generic role to install and customize gcube-app.xml inside non smartgears applications. 2017-03-23 17:34:08 +01:00
Andrea Dell'Amico a129368684 library/roles/smartgears/smartgears/templates/tomcat-instance-default.j2: we can now add more environment variables to the file. 2017-03-23 17:33:43 +01:00
Tommaso Piccioli 8c2262a3f0 icproxy deploy in registry.d4science.org
with the exclude tag when ic_proxy_allscopes is True
2017-03-22 16:09:05 +01:00
Andrea Dell'Amico 020fea5444 library/roles/smartgears/sharelatex_connector: connector to link sharelatex to the portal ldap server. 2017-03-21 16:26:20 +01:00
Andrea Dell'Amico c4b66615d0 library/roles/rstudio-server library/roles/smartgears/r_connector/handlers/main.yml: some cleanup. 2017-03-20 23:57:19 +01:00
Andrea Dell'Amico 637a420b6d library/roles/smartgears/r_connector: Fix the configuration of the ldap services. 2017-03-17 19:47:52 +01:00
Tommaso Piccioli ea08934146 ic_proxy install, incomplete 2017-03-17 19:11:24 +01: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 36fbd99291 library/roles/smartgears/r_connector: Fix the behaviour when we have to connect as a remote user different than root. 2017-03-17 13:17:13 +01:00
Andrea Dell'Amico bdd8d9bc86 library/roles/smartgears/r_connector/tasks/main.yml: Change some tasks to not fail when the remote_user is not root. 2017-03-16 20:30:29 +01:00
Andrea Dell'Amico 5839530ebc library/roles/smartgears/r_connector: Manage the pam ldap configuration. We need to install all the configuration files explicitly because the debian pam configurator does not work non interactively on Ubuntu 14.04. 2017-03-16 19:22:28 +01:00
Andrea Dell'Amico b5086d02c9 d4science-ghn-cluster: The geoserver spatial servers now use the datatransfer that comes with the smartgears distribution.
library/roles/smartgears/data-transfer-service: Not needed anymore.
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Enable the data-transfer-service reverse proxy when requested.
2017-03-16 16:34:43 +01:00
Andrea Dell'Amico 7b8f4b7950 library/roles/smartgears/fhn_manager/tasks/main.yml: Fix the upgrade scenario. 2017-03-16 15:08:24 +01:00
Andrea Dell'Amico ef6b75bd08 library/roles/smartgears/gcube-oauth/defaults/main.yml, library/roles/smartgears/social-networking-library-ws/defaults/main.yml: Use 'latest' as version. 2017-03-16 11:42:07 +01:00
Roberto Cirillo cccdcab33e ../library/roles/smartgears/social-networking-library-ws/defaults/main.yml update service version 2017-03-15 15:12:33 +01:00
Roberto Cirillo 2faee1e181 ../library/roles/smartgears/ckan_connector/defaults/main.yml upgrade ckan-connector version 2017-03-13 15:38:21 +01:00
Andrea Dell'Amico 226ccb0130 library/roles/smartgears: Role that installs the gcube oauth service. 2017-03-08 14:50:06 +01:00
Andrea Dell'Amico b56a2549e5 library/roles/smartgears/social-networking-library-ws: role that installs the social-networking service. 2017-03-08 14:50:06 +01:00
Luca Frosini a9ee8fa889 Fixing ansible script 2017-03-07 17:56:40 +01:00
Roberto Cirillo 602ed0f8e8 group_vars/spd_service_pre/spd_pre.yml added spd service
group_vars/rstudio_dev/rstudio.yml added smartgears distro version (staging repo)
../library/roles/smartgears/r_connector/defaults/main.yml upgrade r_connector version
2017-03-01 14:16:40 +01:00
Roberto Cirillo b31548506d ../library/roles/smartgears/fhn_manager/tasks/main.yml added fhn_manager_upgrade variable condition 2017-02-28 16:44:15 +01:00
Andrea Dell'Amico b9e52a6ab5 library/roles/smartgears/tabular_data: Fix the task that manages the tabulardata upgrade.
d4science-ghn-cluster/smartgears-node-upgrade.yml: Add tabulardata_upgrade: True to the variables list.
2017-02-28 15:20:57 +01:00
Andrea Dell'Amico 99c4b5f7e3 library/roles/smartgears/smart_executor/defaults/main.yml: Set a missing variable.
d4science-ghn-cluster: Add variables and configurations needed by twittermon.
2017-02-28 11:39:01 +01:00
Roberto Cirillo 312772a9e0 ./library/roles/smartgears/tabular_data/defaults/main.yml update version 2017-02-28 11:12:51 +01:00
Roberto Cirillo cd498d22cf ../library/roles/smartgears/tabular_data/tasks/main.yml add maven manage 2017-02-28 11:11:16 +01:00
Roberto Cirillo 5d8531e149 ../library/roles/smartgears/fhn_manager/defaults/main.yml fix version variable 2017-02-27 16:59:07 +01:00
Roberto Cirillo 0437fbeff3 ../library/roles/smartgears/fhn_manager/defaults/main.ym converted to maven manage
../library/roles/smartgears/fhn_manager/tasks/main.yml
2017-02-27 15:34:58 +01:00
Roberto Cirillo 5e24ea56ab moved grsf_publisher_ws from gcube role to smartgears role
add quota service roles
update smartgears-node* files
2017-02-24 15:58:41 +01:00
Roberto Cirillo 1c7b6b4fa9 ../library/roles/smartgears/smartgears/defaults/main.yml update smartgears distribution version 2017-02-24 10:48:14 +01:00
Andrea Dell'Amico 7ec0742786 library/roles/smartgears/data-transfer-service: New role that downloads and install the data transfer service. 2017-02-22 18:19:58 +01:00
Andrea Dell'Amico 29281b49e9 library/roles/smartgears/fhn_manager/meta/main.yml: Install the voms and occi repos only when we install fhn_manager. 2017-02-22 18:19:58 +01:00
Andrea Dell'Amico d4c3143655 library/roles/smartgears/r_connector/templates/rusersadd.j2: Use ACLs to set the userconfig.csv permissions. Touch the file at each login so that the file has been removed by the user, he can still connect. 2017-02-16 12:42:15 +01:00
Andrea Dell'Amico 63837eac95 library/roles/rstudio-server: get_url does not work with the rstudio webserver. Use wget. 2017-02-10 14:02:23 +01:00
Luca Frosini f25f0c7ad9 Added accounting_insert_storage_se_plugin and upgraged version of accounting_aggregator_se_plugin and social_data_indexer_se_plugin 2017-02-09 17:39:37 +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 1d67e721d0 library/roles/quickrank: Fix the 'become' behaviour so that it works when remote_user is not root.
library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Fix the 'become' behaviour so that it works when remote_user is not root.
2017-02-09 12:03:52 +01:00
Andrea Dell'Amico af43d0db1e library/roles/smartgears/smartgears_egi_image/templates/smartgears-setup.sh.j2: More complete fix for the hostname handling. 2017-02-08 16:26:30 +01:00
Andrea Dell'Amico a4c044dc72 library/roles/smartgears/ckan_connector/defaults/main.yml: Rename the variable that sets the gcube repository. 2017-02-08 13:13:34 +01:00
Andrea Dell'Amico 59c5845444 library/roles/smartgears/ckan_connector/defaults/main.yml: New CKAN connector version. 2017-02-08 13:11:58 +01:00
Andrea Dell'Amico e175b90a3e library/roles/smartgears/smartgears_egi_image: Configure the dataminer's wps_config.xml too.
library/roles/smartgears/dataminer_app/templates/wps-config-fixer.j2: Use smartgears_hostname so that we can change it later when configuring the EGI images.
2017-02-07 17:04:08 +01:00
Luca Frosini 408a10c394 Changed comment 2017-02-03 15:51:01 +01:00
Andrea Dell'Amico 2513c63eff library/roles/smartgears/smartgears/files/TokenGenerator.java: It lives on subversion now. 2017-02-02 11:44:44 +01:00
Andrea Dell'Amico 4ae4994f56 library/roles/smartgears/smartgears/files/TokenGenerator.class: New version of the token generation. Now the scope names are listed as comments near the related token. 2017-01-27 16:10:34 +01:00
Andrea Dell'Amico ec51482863 library/roles: d4s_user_services_perms, fixes to the tasks so that they work if we have multiple tomcat installations but only a subset of them have smartgears installed.
library/roles/smartgears/smartgears/templates/container.xml.j2: Cosmetic fix.
2017-01-25 16:03:23 +01:00
Andrea Dell'Amico aa883e90b2 library/roles/smartgears/fhn_manager: Add the egi/voms and egi/occi roles as dependencies. 2017-01-23 19:32:55 +01:00
Andrea Dell'Amico fc790625d3 library/roles/smartgears/dataminer_app/tasks/install-gcube-key.yml: Remove the non existant fourth dev gcube key reference. 2017-01-16 18:24:52 +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
Roberto Cirillo d1999f7f3d group_vars/fhn_manager_prod/vo-config.yml added gCubeApps scope
../library/roles/smartgears/fhn_manager/defaults/main.yml update fhn-manager-service version to the last RN
2016-12-15 17:36:49 +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 6f795a39b8 library/roles/smartgears/smartgears: Remove smartgears < 2.0 related stuff. 2016-12-06 15:36:51 +01:00
Luca Frosini 1703ebc746 Reorganizing smart-executor playbooks. Refs #6126 2016-12-05 17:43:22 +01:00
Luca Frosini 2af6393e10 Reorganizing smart-executor playbooks. Refs #6126 2016-12-05 17:34:11 +01:00
Luca Frosini 4824e7572a Reorganizing smart-executor playbooks. Refs #6126 2016-12-05 17:22:28 +01:00
Luca Frosini 5d4b81c21c Reorganizing smart-executor playbooks. Refs #6126 2016-12-05 13:08:05 +01:00
Luca Frosini 1cab8a3c4f Removed dismissed smart-executor plugin (couchdb_chache_se_plugin) 2016-12-05 12:21:26 +01:00
Roberto Cirillo 23c23057d6 ../library/roles/smartgears/smartgears/defaults/main.yml added smartgears_publication_frequency default
../library/roles/smartgears/smartgears/templates/container.xml.j2 set publication frequency as variable
2016-12-02 11:54:31 +01:00
Roberto Cirillo b0d0c60c04 group_vars/rstudio_dev/rstudio.yml added smartgears_scope variable definition
../library/roles/rstudio-server/tasks/main.yml added igoring error on download certificate task
../library/roles/smartgears/smartgears/templates/container.xml.j2 update "frequencypublication" from 60 to 180 sec
2016-12-01 17:06:25 +01:00
Roberto Cirillo 19ee922543 group_vars/rstudio_dev/rstudio.yml added preproduction scopes
group_vars/tabulardata_pre/tabulardata_pre.yml add tabulardata variables
inventory/hosts.pre added tabulardata host
../library/roles/smartgears/r_connector/defaults/main.yml update rconnector version
../library/roles/smartgears/smartgears/defaults/main.yml update smartgears distribution version
2016-12-01 16:28:37 +01:00
Andrea Dell'Amico 096f320787 d4science-ghn-cluster: Use the 2.6 data from subversion to complete the ckan-grsf-admin installation 2016-11-30 23:11:02 +01:00
Andrea Dell'Amico 15f90307a3 d4science-ghn-cluster: Install ckan 2.6 on ckan-frsf-admin.d4science.org. 2016-11-30 20:18:04 +01:00
Roberto Cirillo 54db12957c ./library/roles/smartgears/ckan_connector/defaults/main.yml upgrade ckanconnector version to 1.1.1-4.2.0 2016-11-30 17:44:12 +01:00
Roberto Cirillo 73f5750716 ../library/roles/smartgears/fhn_manager/defaults/main.yml update version fhn-manager 2016-11-30 16:26:43 +01:00
Andrea Dell'Amico daa0a3af35 library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: client_max_body_size is now configurable. 2016-11-29 09:42:06 +01:00
Andrea Dell'Amico 00b6c78bb6 library/roles/smartgears/smartgears-nginx-frontend: Add the CORS snippet when enabled. 2016-11-28 16:41:56 +01:00
Luca Frosini 3a6f0675f5 Upgraded resource-registry version to 1.3.0-SNAPSHOT 2016-11-28 12:35:45 +01:00
Andrea Dell'Amico 14720d656d library/roles/smartgears/smartgears/defaults/main.yml: Add defaults to ease the enabling of jmx support. 2016-11-23 19:18:28 +01:00
Andrea Dell'Amico df49cb8049 library/roles/smartgears/smartgears-nginx-frontend: Some smartgears nodes have aliases. Handle them in the virtualhost configuration. 2016-11-23 12:28:05 +01:00
Andrea Dell'Amico d38c0147f0 library/roles/smartgears/resource_registry/tasks/main.yml: Unarchive directly the URL. 2016-11-18 11:17:37 +01:00
Andrea Dell'Amico 66cf85267d library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Do not set 'servername' on the EGI images. The hostname is usually wrong. 2016-11-18 10:54:40 +01:00
Luca Frosini 325a5d9066 Fixed error introduced getting the latest deployed version of the resource-registry for a certain snapshot version 2016-11-17 15:32:30 +01:00
Luca Frosini 29f203ba9b Getting the latest deployed version of Resource Registry to avoid to chage the revision number for each bug fix 2016-11-17 15:00:03 +01:00
Andrea Dell'Amico 7d556bcd6c library/roles/smartgears/smartgears_egi_image: Fix the smartgears setup, again. 2016-11-16 17:24:19 +01:00
Luca Frosini 4036c62ec1 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2016-11-16 14:46:11 +01:00
Andrea Dell'Amico 5988359b12 library/roles/smartgears/smartgears_egi_image: Fixes to the smartgears-setup script. Now the token is removed from the cloud-init data files. Add more logging info to the get-gcube-keys script. 2016-11-16 14:37:35 +01:00
Luca Frosini 534169b7ed Updated resource registry version 2016-11-16 14:35:30 +01:00
Andrea Dell'Amico 4b9201e6f5 library/roles/smartgears/smartgears_egi_image/templates/smartgears-setup.sh.j2: Modifications to the smartgears setup script so it can now handle different java heap sizes based on the available memory. The script now handles the smartgears 2.0 token used to get the scopes tokens. 2016-11-16 11:39:35 +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
Andrea Dell'Amico f8d43ccf4b library/roles/smartgears/smartgears: Do not store the user token inside the get-scopes script. 2016-11-04 18:13:33 +01:00
Andrea Dell'Amico 9adf0e8194 library/roles/smartgears/smartgears: do not remove the state when upgrading the service. Now to force a state removal the variabile smartgears_remove_state must be set to True. 2016-11-03 16:35:38 +01:00
Luca Frosini 0bf4684361 Upgraded resource registry version 2016-11-03 14:55:11 +01:00
Roberto Cirillo 1b7b067d89 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2016-11-02 18:42:59 +01:00
Roberto Cirillo c0bfea5399 inventory/hosts.production added smart_exec plugins under smart-executor group
../library/roles/smartgears/fhn_manager/defaults/main.yml: update fhn-manager version
2016-11-02 18:40:03 +01:00
Luca Frosini 4a16ab9bfe Upgraded resource-regsitry version 2016-11-02 12:25:49 +01:00
Luca Frosini c661e65f90 Upgraded resource-regsitry version 2016-10-31 17:17:49 +01:00
Luca Frosini b4340ec89c Upgraded resource-regsitry and resource-registry-orientdb-hooks version 2016-10-28 18:00:46 +02:00
Luca Frosini 45835e7569 Upgraded resource regsitry version 2016-10-28 10:57:56 +02:00
Andrea Dell'Amico b1e651bf79 library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix the get-scopes script: the correct arguments order is host token port destfile scope1 [scopen]
d4science-ghn-cluster/group_vars/rstudio/rstudio.yml: Set the correct scopes.
2016-10-27 18:04:33 +02:00