Commit Graph

551 Commits

Author SHA1 Message Date
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
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
Roberto Cirillo ea68aa7b2a group_vars/smart_account_aggr_dev_devnext/smartexecutor_dev_devnext.yml added development version definition
library/roles/smartgears/accounting_aggregator_se_plugin/defaults/main.yml move from dev version to prod version
 ../library/roles/smartgears/fhn_manager/defaults/main.yml update version
2016-10-24 10:41:24 +02:00
Roberto Cirillo cdd4bcb781 ../library/roles/smartgears/r_connector/defaults/main.yml update version
./library/roles/smartgears/fhn_manager/defaults/main.yml update version
2016-10-24 10:17:24 +02:00
Roberto Cirillo 7ff43272d9 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2016-10-24 10:07:59 +02:00
Roberto Cirillo 1c199e6dd3 ./library/roles/smartgears/ckan_connector/defaults/main.yml update version
../library/roles/smartgears/fhn_manager/defaults/main.yml update version
2016-10-24 10:07:13 +02:00
Andrea Dell'Amico facb92becf d4science-ghn-cluster: dataminer and rstudio: new sudoers allowed commands.
library/roles/smartgears/r_connector: Install the RProfile file, more tight permissions on the users home directories.
2016-10-21 18:55:31 +02:00
Andrea Dell'Amico 188e4d1079 d4science-ghn-cluster: library/roles/smartgears/r_connector: fix the r_connector script that manages the users. Added the required commands to the sudoers file. 2016-10-20 20:10:56 +02:00
Luca Frosini 6606894817 Changed vault for resource registry. Aligned root password of orientdb root user 2016-10-14 17:00:16 +02:00
Roberto Cirillo 16b7358eb5 group_vars/smart_account_aggr_dev_devnext/smartexecutor_dev_devnext.yml remove dev version and gcube.snapshot repository
../library/roles/smartgears/smart_executor/defaults/main.yml update smart-executor version
2016-10-13 16:45:42 +02:00
Roberto Cirillo 88693fa79b ../library/roles/smartgears/fhn_manager/defaults/main.yml update fhn-manager-service version 2016-10-13 15:45:13 +02:00
Andrea Dell'Amico fb49a65871 library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Set a high timeout for the download from thredds. 2016-10-11 17:42:36 +02:00
Luca Frosini 7b99c4bc7c Fixed orientdb root password 2016-10-11 16:21:22 +02:00
Andrea Dell'Amico b0e799ad17 library/roles/smartgears/smartgears-nginx-frontend: Add websockets support to the virtualhost. Remove the rstudio virtualhost templates. 2016-10-08 12:28:08 +02:00
Andrea Dell'Amico cc6a29ce51 library/roles/smartgears/smartgears: directly unarchive the distribution without saving the tar file locally. 2016-10-05 17:56:44 +02:00
Andrea Dell'Amico 4765fea33f library/roles/smartgears/smartgears/files/TokenGenerator*: New TokenGenerator. Differences are only cosmetic. 2016-10-05 15:11:34 +02:00
Roberto Cirillo fd83d29809 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2016-10-05 15:00:36 +02:00
Roberto Cirillo d86db8ea5a ../library/roles/smartgears/smartgears/defaults/main.yml update smartgears version 2016-10-05 14:59:09 +02:00
Andrea Dell'Amico bfd5ea4d4d library/roles/smartgears/dataminer_app: Install the gebco_08.nc file on a place external to the application files and create a symlink to it. Remove the now unused tasks that installed The wps original war file. 2016-10-05 13:31:10 +02:00
Roberto Cirillo 7616578607 group_vars/smart_account_aggr_dev_devnext/smartexecutor_dev_devnext.yml upgrade versions
group_vars/smart_genericworker_dev_devsec/smartexecutor_dev_devsec.yml upgrade versions
group_vars/social_data_indexer_se_plugin/all.yml upgrade versions
inventory/hosts.dev remove social-data-index from smartgeneric-worker group
2016-10-05 11:03:48 +02:00
Andrea Dell'Amico a655772e51 library/roles/smartgears/dataminer_app: New way to install the software. Now we only download a zipped distribution and we change a couple of parameters inside wps_config.xml. 2016-10-05 10:37:46 +02:00
Andrea Dell'Amico 4a9c7ddee3 library/roles/smartgears/smartgears: Fix the get-scopes script so that it takes the right port. 2016-10-05 10:36:10 +02:00
Andrea Dell'Amico b7776c583a library/roles/smartgears/smartgears: New TokenGenerator. Fix the container.xml template. 2016-10-04 16:58:05 +02:00
Andrea Dell'Amico 6a1ae88190 d4science-ghn-cluster/group_vars/tagme/tagme.yml: Use the generic nginx virtualhost.
library/roles/smartgears/smartgears-nginx-frontend/templates/tagme.d4science.org-virtualhost.j2: Remove the tagme nginx virtualhost. Not needed anymore.
2016-10-04 11:15:25 +02:00
Andrea Dell'Amico 0c3f0c7c12 library/roles/smartgears/smartgears-nginx-frontend/templates/*dataminer*: not used anymore. 2016-10-04 11:02:07 +02:00
Andrea Dell'Amico bd076197a3 library/roles/smartgears/smartgears/templates/container.xml.j2: Use the https port only if http_redirect_to_https is True. 2016-10-03 22:51:36 +02:00
Andrea Dell'Amico f4d3393235 library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Manage the real_ip scenario when we are behind haproxy. 2016-10-03 18:35:07 +02:00
Andrea Dell'Amico 61a0f90bb4 library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: new virtualhost that supports https with or without redirection from http. 2016-10-03 18:28:15 +02:00
Andrea Dell'Amico 9714cc66ee library/roles/smartgears/smartgears/files/TokenGenerator.java: New version of the token generator. 2016-09-30 18:39:27 +02:00
Luca Frosini 0fb19da11a Setting the right smartgears version for resource-registry 2016-09-30 16:26:04 +02:00
Andrea Dell'Amico ff54c3654c library/roles/smartgears/resource_registry: Add a variable to manage the resource registry upgrade. 2016-09-29 18:45:00 +02:00
Luca Frosini 2c5609d20e Update version of resource-registry 2016-09-29 17:35:13 +02:00
Andrea Dell'Amico 004fd2a863 library/roles/smartgears/smart_executor/tasks/main.yml: Use a new variable to manage the smart executor removal. 2016-09-27 18:46:23 +02:00
Andrea Dell'Amico b5e2f43bd7 library/roles/smartgears/smart_executor: Fix the upgrade scenario.
library/roles/smartgears/smartgears: Fix the new token management.
d4science-ghn-cluster/group_vars/smart_genericworker_dev_devnext: The new token management needs a different scopes handling. And a new variable: smartgears_scopes.
2016-09-27 18:06:31 +02:00
Andrea Dell'Amico e8ffed284b library/roles/smartgears/smartgears: The new smartgears distributions are going to use the new authorization service. The container configuration changes heavily. 2016-09-27 15:35:33 +02:00
Andrea Dell'Amico 2f8f9e1d26 library/roles/smartgears/resource_registry: Fix the repository URL.
library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Fix a missing {% endif %}.
2016-09-20 12:20:20 +02:00
Andrea Dell'Amico 699ff46674 library/roles/smartgears/resource_registry: Add the resource registry smartgears app. 2016-09-19 19:31:09 +02:00
Andrea Dell'Amico f6e623dfae library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Support dataminer and https via letsencrypt. All optional. 2016-09-19 19:29:58 +02:00
Andrea Dell'Amico 0fc3c80165 library/roles/smartgears/is_sweeper_se_plugin/defaults/main.yml: Do not install the is_sweeper_se_plugin by default. 2016-09-16 17:03:26 +02:00
Andrea Dell'Amico c223b783ee library/roles/smartgears/accounting_aggregator_se_plugin/defaults/main.yml: Fix the aggregator URL again. 2016-09-16 16:56:12 +02:00
Andrea Dell'Amico 9e8074e0b9 library/roles/smartgears/accounting_aggregator_se_plugin/defaults/main.yml: Fix the accounting aggregator URL. 2016-09-16 16:52:58 +02:00
Andrea Dell'Amico 57560c63eb library/roles/smartgears/accounting_aggregator_se_plugin: New smart executor plugin. 2016-09-16 16:42:12 +02:00
Roberto Cirillo ff419c6c24 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2016-09-09 18:27:48 +02:00
Roberto Cirillo 75088d4f15 group_vars/smartexecutor_dev/all.yml added variable smartexecutor_context 2016-09-09 18:24:08 +02:00
Andrea Dell'Amico f53a0cbcb2 library/roles/smartgears/r_connector: install a list of packages needed to do ldap authentication via pam. 2016-09-09 18:05:13 +02:00
Andrea Dell'Amico cdb6d524e0 . 2016-09-09 13:34:56 +02:00
Andrea Dell'Amico df3d8ab340 library/roles/smartgears/smartgears-nginx-frontend/templates/dataminer1-d-d4s.d4science.org-virtualhost.j2: virtualhost for the new dataminer. 2016-09-09 13:34:06 +02:00
Andrea Dell'Amico 18bbc85a22 library/roles/smartgears/smartgears: container.xml can contain scopes for more than one context. 2016-09-09 13:33:34 +02:00
Andrea Dell'Amico f864b8648e library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: The dataminer algorithms must be copied on the right place, tomcat cannot read symlinks. 2016-09-09 13:32:16 +02:00
Andrea Dell'Amico 21df3e5cfd library/roles/smartgears/dataminer_app: Install the algorithms jars from their svn repository. See https://support.d4science.org/issues/4917 2016-09-08 14:48:30 +02:00
Andrea Dell'Amico 3118736ea0 library/roles/smartgears/smartgears: Add the root VO as available scope by default, when we explicitly set a scope list. 2016-09-01 11:42:36 +02:00
Roberto Cirillo f8d93f6fbf smartgears-node-upgrade.yml added role for fhn_manager service 2016-07-29 16:00:06 +02:00
Andrea Dell'Amico 430a337a3c library/roles/smartgears/dataminer_app/defaults/main.yml: New default version. Add other jars to the cleanup list.
d4science-ghn-cluster/group_vars/dataminer: Remove the version from the group vars, the newest is now the default one.
2016-07-24 14:38:57 +02:00
Roberto Cirillo 6ac76b3f86 group_vars/dataminer/dataminer.yml add repository variables 2016-07-22 15:37:34 +02:00
Andrea Dell'Amico b92af6a7da library/roles/smartgears/ckan_connector: Fix the web.xml configuration. 2016-07-22 10:44:57 +02:00
Andrea Dell'Amico 76237a9b6b library/roles/smartgears/r_connector: Fix the script that initializes/creates uses.
library/roles/smartgears/smartgears-nginx-frontend/templates/rstudio-dev.d4science.org-virtualhost.j2: Add a piece of configuration that was only on the production server.
2016-07-21 19:29:32 +02:00
Andrea Dell'Amico 31c6288e85 library/roles/smartgears/r_connector: Install the adduser script, really.
library/roles/smartgears/smartgears/templates/container.xml.j2: The VO can be a list. Change the default and the template.
2016-07-21 17:14:13 +02:00
Andrea Dell'Amico bd1808560c library/roles/smartgears/r_connector: Role that installs the smartgears r-connector.
library/roles/smartgears/smartgears-nginx-frontend/templates: nginx virtualhosts for the rstudio servers.
2016-07-21 14:58:46 +02:00
Andrea Dell'Amico 38e69bec93 library/roles/smartgears/ckan_connector: Remove the old war file. Fix the ckan-connector-fixer script. 2016-07-21 13:04:32 +02:00
Andrea Dell'Amico f84dc3d539 library/roles/smartgears: install-gcube-key is not a role anymore, but a task of the smartgears role. 2016-07-20 13:23:35 +02:00
Andrea Dell'Amico 0a25209c25 library/roles/smartgears/install-gcube-key: Now we delete the unwanted keys. 2016-07-20 13:23:35 +02:00
Roberto Cirillo 6bb18d2555 library/roles/smartgears/smartgears/defaults/main.yml adde application context to tomcat multi instances
Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks

Conflicts:
	library/roles/smartgears/smartgears/defaults/main.yml
2016-07-18 18:46:40 +02:00
Roberto Cirillo a96ff08a5b ../library/roles/smartgears/smartgears/defaults/main.yml added multiple application context on tomcat-multi-instances 2016-07-18 18:31:26 +02:00
Andrea Dell'Amico 4d53951c93 library/roles/smartgears/smartgears/defaults/main.yml: The tomcat app contexts is an array. 2016-07-15 19:55:04 +02:00
Andrea Dell'Amico e642ffb648 infrastructure-services: Some cleanups 2016-07-15 19:52:44 +02:00
Andrea Dell'Amico e201856f79 library/roles/smartgears/smart_executor/tasks/main.yml: Run the tasks as gcube user. 2016-07-15 19:25:49 +02:00
Andrea Dell'Amico cd67222e4e library/roles/smartgears/smart_executor/tasks/main.yml: Fix an indentation problem. 2016-07-15 19:23:33 +02:00
Andrea Dell'Amico e72ba92355 d4science-ghn-cluster: Change the smart_executor conditional.
library/roles/smartgears/smart_executor/tasks/main.yml: Change the conditionals so we can let the role remove the application when smart_executor_install is set to 'False'.
2016-07-15 19:17:39 +02:00
Andrea Dell'Amico bac130afce library/roles/smartgears/smartgears/defaults/main.yml: Put the tomcat contexts in a separate library 2016-07-15 18:59:16 +02:00
Andrea Dell'Amico a06ab825a4 library/roles/smartgears: Move the vo context management from the smart_executor role to the smartgears one. Rename variables consequently. See https://support.d4science.org/issues/4736. 2016-07-15 13:36:46 +02:00
Andrea Dell'Amico ae8283094a library/roles/smartgears: Simplify the smartgears template management. Add a conditional to handle the case where no VO is needed, see https://support.d4science.org/issues/4723. 2016-07-14 12:40:31 +02:00
Andrea Dell'Amico 3618084819 d4science-ghn-cluster: CKAN, fixes to the smartgears/ckan-connector installation.
library/roles/smartgears/ckan_connector: New version, fix the upgrade phase.
library/roles/solr-tomcat-instance: Configure a multicore instance when requested.
2016-07-13 19:04:28 +02:00
Andrea Dell'Amico 130b6e3ced library/roles/smartgears/ckan_connector: New version. Task that permit the upgrades management. 2016-07-13 18:30:56 +02:00
Andrea Dell'Amico b02841191c library/roles/smartgears/smartgears/tasks/smartgears-app.yml: do not restart smartgears after running the log level management script: we need a way to know when a change was performed. 2016-07-08 17:38:13 +02:00
Roberto Cirillo c787b44fc4 ../library/roles/smartgears/smartgears/tasks/smartgears-app.yml fix change loglevel 2016-07-08 17:23:49 +02:00
Andrea Dell'Amico ac277cb6af library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Fix the command that sets the logback log level. 2016-07-08 16:43:50 +02:00
Andrea Dell'Amico 965d6bf6ae library/roles/ubuntu-deb-general/defaults/main.yml: Install xmlstarlet.
library/roles/smartgears: Change the default versions to the new production ones.
library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Task that sets the loglevel. The default is WARN.
2016-07-07 17:39:27 +02:00
Andrea Dell'Amico cd4316c2bc library/roles/smartgears/dataminer_app/defaults/main.yml: another jar to be removed. 2016-07-03 12:39:44 +02:00
Andrea Dell'Amico a19949c63f library/roles/smartgears: Manage the gcube pre production keys. 2016-07-03 12:39:44 +02:00
Andrea Dell'Amico d9c513dede library/roles/smartgears: add the virtualhost for the new dataminer. 2016-07-03 12:39:44 +02:00
Andrea Dell'Amico 3670019763 library/roles/smartgears/dataminer_app: Conditionals to add/remove the snapshots and staging repositories from the maven settings. 2016-07-03 12:39:44 +02:00
Andrea Dell'Amico 7834f8bf66 library/roles/smartgears: Fix some dataminer defaults. 2016-07-03 12:39:44 +02:00
Andrea Dell'Amico 900d414f4a library/roles/smartgears/ckan_connector: Fix the nexus URL.
library/roles/smartgears/dataminer_app: Remove some duplicate libraries, add two.
2016-06-27 15:36:37 +02:00
Andrea Dell'Amico e2464cb85a d4science-ghn-cluster: split the dataminer dev group between devsec and devnext. Add a new devNext scoped dataminer. 2016-06-25 15:25:50 +02:00
Andrea Dell'Amico 44b444fdc0 library/roles/smartgears/ckan_connector: Role that installs and configures a ckan-connector service.
d4science-ghn-cluster: Add the ckan-connector variables to the ckan production services.
2016-06-24 18:42:41 +02:00
Andrea Dell'Amico f0fb4584df library/roles/smartgears/social_data_indexer_se_plugin/tasks/main.yml: Fix the task description. 2016-06-24 15:28:21 +02:00
Andrea Dell'Amico 276e45ec15 library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Fix the dataminer config jar destination path. 2016-06-23 12:58:50 +02:00
Andrea Dell'Amico 72af5c08fe library/roles/smartgears/dataminer_app/defaults/main.yml: Fix the dataminer configuration jar's URL. 2016-06-23 12:37:49 +02:00
Andrea Dell'Amico 874ada60eb library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Fix the container.xml installation.
library/roles/smartgears/dataminer_app: More files needed.
2016-06-23 12:15:37 +02:00
Andrea Dell'Amico 535fc78f1a library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Give the new task a description. 2016-06-22 17:27:56 +02:00
Andrea Dell'Amico e02913abe5 d4science-ghn-cluster/group_vars/dataminer_dev: Use the maven snapshots repository.
library/roles/smartgears/dataminer_app: Fix a couple of mistakes.
2016-06-22 15:37:30 +02:00
Andrea Dell'Amico 49be6b992d library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Fix the shell command that set the permissions. 2016-06-21 20:41:38 +02:00
Gianpaolo Coro 037b16bd53 server in the wps_config is now parametrised 2016-06-14 17:14:07 +02:00
Gianpaolo Coro 1320fd0c92 added dataminer_dataminer_jar_version: 1.2.0-SNAPSHOT as jar version and new pom 2016-06-14 17:03:07 +02:00
Andrea Dell'Amico 24e5f76098 library/roles/ghn-gcore, library/roles/smartgears: Move the ghn and smartgears roles from d4science-ghn-cluster to the shared library 2016-06-13 16:24:30 +02:00