Commit Graph

243 Commits

Author SHA1 Message Date
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
Andrea Dell'Amico ddafc96e47 library/roles/smartgears/r_connector/tasks/main.yml: Fix the r_connector role. The debian packages need to be installed as root. 2016-10-27 16:04:24 +02:00
Luca Frosini 58462873cd Upgraded resource regsitry version 2016-10-27 10:27:24 +02:00
Andrea Dell'Amico 54a50c9307 d4science-ghn-cluster: New production geonetwork server.
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Fix the virtualhost so that it works when some of the optional variables are undefined.
2016-10-26 20:08:28 +02:00
Roberto Cirillo fcff879965 ../library/roles/smartgears/tabular_data/defaults/main.yml first defintion
../library/roles/smartgears/tabular_data/handlers/main.yml first definition
../library/roles/smartgears/tabular_data/tasks/main.yml first definition
2016-10-26 12:37:38 +02:00
Luca Frosini d8cc2755f0 Updated version of resource registry and orientdb hooks 2016-10-26 11:56:28 +02:00
Roberto Cirillo 51ddc2cbd3 smartgears-node-upgrade.yml added new smart_executor plugins 2016-10-26 11:05:56 +02:00