forked from ISTI-ansible-roles/ansible-roles
thredds: fix a wrong path. Restart tomcat when the configuration files change.
This commit is contained in:
parent
04a116f78d
commit
477d48cee2
|
@ -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_repository_url: 'https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases'
|
||||||
thredds_download_directory: /srv
|
thredds_download_directory: /srv
|
||||||
thredds_data_content_dir: /data/thredds
|
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_server_name: 'Thredds instance'
|
||||||
thredds_logo_url: '/thredds/threddsIcon.gif'
|
thredds_logo_url: '/thredds/threddsIcon.gif'
|
||||||
thredds_logo_alt_text: '{{ thredds_server_name }}'
|
thredds_logo_alt_text: '{{ thredds_server_name }}'
|
||||||
|
|
|
@ -22,6 +22,8 @@
|
||||||
with_items:
|
with_items:
|
||||||
- threddsConfig.xml
|
- threddsConfig.xml
|
||||||
- catalog.xml
|
- catalog.xml
|
||||||
|
notify: tomcat instances restart
|
||||||
|
tags: [ 'thredds', 'tomcat', 'thredds_conf' ]
|
||||||
|
|
||||||
- name: Get the thredds war file
|
- 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 }}
|
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 }}
|
||||||
|
|
Loading…
Reference in New Issue