forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/smartgears/templates/get-scopes.j2: Do not fail when there is no token and the node must run on all the VOs.
This commit is contained in:
parent
678f74dafa
commit
bb158fce51
|
@ -24,8 +24,8 @@ if [ $# -eq 0 ] ; then
|
|||
if [ -f $SMARTGEARS_RUNNING_STATE_FILE ] ; then
|
||||
if [ "$SMARTGEARS_VO_AUTH" == 'true' ] ; then
|
||||
# - The node must run on all VOs
|
||||
logger "$LOG_PREFIX When the node must run on all the VOs a valid token is mandatory, aborting"
|
||||
exit 1
|
||||
logger "$LOG_PREFIX When the node must run on all the VOs a valid token is mandatory, aborting without doing anything"
|
||||
exit 0
|
||||
fi
|
||||
USE_SAVED_STATE=0
|
||||
echo "No token, assuming that we can use the local state"
|
||||
|
|
Loading…
Reference in New Issue