Remove a conditional that can make the task fail.

This commit is contained in:
Andrea Dell'Amico 2018-03-16 12:35:37 +01:00
parent 36852c7e98
commit f4a51bb17f
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@
become: True
become_user: '{{ smartgears_user }}'
shell: /usr/local/bin/get-scopes {{ gcube_admin_token | default('') }}
when: gcube_admin_token is defined or ( smartgears_download | changed )
# when: gcube_admin_token is defined or ( smartgears_download | changed )
# register: smartgears_remove_state
notify: Restart smartgears
tags: [ 'smartgears', 'smartgears_distribution', 'smartgears_conf', 'tomcat' ]