From 477d48cee23f0e97949fa92b9dda0fab650c48b3 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 6 Sep 2017 12:37:39 +0200 Subject: [PATCH] thredds: fix a wrong path. Restart tomcat when the configuration files change. --- thredds/defaults/main.yml | 2 +- thredds/tasks/main.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/thredds/defaults/main.yml b/thredds/defaults/main.yml index 9ad026a..b9715de 100644 --- a/thredds/defaults/main.yml +++ b/thredds/defaults/main.yml @@ -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 }}' diff --git a/thredds/tasks/main.yml b/thredds/tasks/main.yml index a94063a..d65f021 100644 --- a/thredds/tasks/main.yml +++ b/thredds/tasks/main.yml @@ -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 }}