Commit Graph

361 Commits

Author SHA1 Message Date
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