From e49a49e4e2969db680e78470120224f93b7a059e Mon Sep 17 00:00:00 2001
From: Andrea Dell'Amico <adellam@isti.cnr.it>
Date: Wed, 16 Nov 2016 11:39:11 +0100
Subject: [PATCH] library/roles/smartgears/smartgears/tasks/smartgears-app.yml:
 Always install the TokenGenerator.class file.

---
 smartgears/smartgears/tasks/smartgears-app.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/smartgears/smartgears/tasks/smartgears-app.yml b/smartgears/smartgears/tasks/smartgears-app.yml
index 596deeb..bb617d3 100644
--- a/smartgears/smartgears/tasks/smartgears-app.yml
+++ b/smartgears/smartgears/tasks/smartgears-app.yml
@@ -50,7 +50,6 @@
 
 - name: Install the token generator class
   copy: src=TokenGenerator.class dest=/usr/local/lib/TokenGenerator.class owner=root group=root mode=0644
-  when: gcube_admin_token is defined
   tags: [ 'smartgears', 'smartgears_conf', 'tomcat' ]
 
 - name: Install the script that fetches the scope tokens