forked from ISTI-ansible-roles/ansible-roles
Give the ability to skip the get-scopes task.
This commit is contained in:
parent
ad1096f83f
commit
c047873c6e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue