From 8c3a37c5bcb045eec2c0428ea761e0dfd9a2e691 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 27 Mar 2017 17:39:44 +0200 Subject: [PATCH] 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. --- smartgears/smartgears/defaults/main.yml | 14 ++++++++++++-- smartgears/smartgears/templates/container.xml.j2 | 3 +++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/smartgears/smartgears/defaults/main.yml b/smartgears/smartgears/defaults/main.yml index a50d4847..0b7d240d 100644 --- a/smartgears/smartgears/defaults/main.yml +++ b/smartgears/smartgears/defaults/main.yml @@ -23,6 +23,18 @@ smartgears_mode: online smartgears_application_mode: online # Production infra smartgears_infrastructure_name: "d4science.research-infrastructures.eu" +# Production VOs +smartgears_production_vo: + - '/{{ smartgears_infrastructure_name }}' + - '/{{ smartgears_infrastructure_name }}/FARM' + - '/{{ smartgears_infrastructure_name }}/SoBigData' + - '/{{ smartgears_infrastructure_name }}/SmartArea' + - '/{{ smartgears_infrastructure_name }}/gCubeApps' + - '/{{ smartgears_infrastructure_name }}/D4research' +# Set to 'true' or 'false'. Pay attention to the case +smartgears_authorized_on_all_scopes: 'false' +smartgears_scopes: + - '/{{ smartgears_infrastructure_name }}' smartgears_hostname: '{{ ansible_fqdn }}' smartgears_country: it smartgears_location: pisa @@ -36,8 +48,6 @@ smartgears_loglevel: WARN smartgears_tomcat_contexts: [ 'whn-manager' ] -smartgears_scopes: - - '/{{ smartgears_infrastructure_name }}' # The iptables rules use this http_port: '{{ smartgears_http_port }}' diff --git a/smartgears/smartgears/templates/container.xml.j2 b/smartgears/smartgears/templates/container.xml.j2 index 9f20eac1..961537b9 100644 --- a/smartgears/smartgears/templates/container.xml.j2 +++ b/smartgears/smartgears/templates/container.xml.j2 @@ -24,6 +24,9 @@ {{ smartgears_longitude }} + +{{ smartgears_authorized_on_all_scopes }} + {{ smartgears_publication_frequency }}