Commit Graph

80 Commits

Author SHA1 Message Date
Andrea Dell'Amico 25eebdf57f Fix a typo. 2017-09-15 13:02:18 +02:00
Andrea Dell'Amico ce44423955 library/roles/smartgears/smartgears/defaults/main.yml: add a default for the catalina (tomcat) tmp directory, so that we can change it when needed. 2017-09-15 12:52:03 +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
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 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 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 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 7d1dda3e32 Fix a typo. 2017-09-12 15:59:56 +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 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
Roberto Cirillo 7258e12d3b dm-pool-manager update version
smartgears update version
2017-09-04 12:00:05 +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 47788be177 smartgears: Install the gcube root dev key in preprod too. 2017-07-20 17:41:42 +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 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 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
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
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 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
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
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 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
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 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 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
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
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 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 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 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
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
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 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 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