Give the ability to skip the get-scopes task.

This commit is contained in:
Andrea Dell'Amico 2019-05-10 14:03:32 +02:00
parent ad1096f83f
commit c047873c6e
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ smartgears_name: smartgears-distribution
smartgears_group_id: org.gcube.distribution
smartgears_extension: tar.gz
smartgears_file: '{{ smartgears_name }}-{{ smartgears_distribution_version }}.{{ smartgears_extension }}'
smartgears_skip_get_scopes: False
smartgears_mode: online
smartgears_application_mode: online

View File

@ -149,6 +149,7 @@
become_user: '{{ smartgears_user }}'
shell: /usr/local/bin/get-scopes {{ gcube_admin_token | default('') }}
notify: Restart smartgears
when: not smartgears_skip_get_scopes
tags: [ 'smartgears', 'smartgears_distribution', 'smartgears_conf', 'tomcat' ]
- name: Remove the smartgears application state if requested