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
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
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
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
d86db8ea5a
../library/roles/smartgears/smartgears/defaults/main.yml update smartgears version
2016-10-05 14:59:09 +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
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
9714cc66ee
library/roles/smartgears/smartgears/files/TokenGenerator.java: New version of the token generator.
2016-09-30 18:39:27 +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
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
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
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
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