thredds: fix a wrong path. Restart tomcat when the configuration files change.

This commit is contained in:
Andrea Dell'Amico 2017-09-06 12:37:39 +02:00
parent 04a116f78d
commit 477d48cee2
2 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@ thredds_file: '{{ thredds_name }}-{{ thredds_version }}.{{ thredds_extension }}'
thredds_repository_url: 'https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases'
thredds_download_directory: /srv
thredds_data_content_dir: /data/thredds
thredds_public_netcdf_dir: '{{ thredds_data_content_dir }}/public/netcdf/'
thredds_public_netcdf_dir: '{{ thredds_data_content_dir }}/thredds/public/netcdf/'
thredds_server_name: 'Thredds instance'
thredds_logo_url: '/thredds/threddsIcon.gif'
thredds_logo_alt_text: '{{ thredds_server_name }}'

View File

@ -22,6 +22,8 @@
with_items:
- threddsConfig.xml
- catalog.xml
notify: tomcat instances restart
tags: [ 'thredds', 'tomcat', 'thredds_conf' ]
- name: Get the thredds war file
maven_artifact: artifact_id={{ thredds_name }} version={{ thredds_version | default(omit) }} group_id={{ thredds_group_id }} extension={{ thredds_extension | default('war') }} repository_url={{ thredds_repository_url }} dest={{ thredds_download_directory }}/{{ thredds_file }}