install libnetcdf

This commit is contained in:
Andrea Dell'Amico 2021-06-08 19:21:27 +02:00
parent 0b074e07ea
commit c71160d59e
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,13 @@
tags: [ 'thredds', 'tomcat' ]
- block:
- name: Install some prerequisite deb packages
apt:
pkg: '{{ thredds_dpkg_requirements }}'
state: present
cache_valid_time: 1800
when: ansible_distribution_file_variety == "Debian"
- name: Create the Thredds webapp directory
file: path={{ item.instance_path }}/webapps/{{ thredds_app_name | lower }} state=directory owner={{ item.user }} group={{ item.user }}
with_items: '{{ tomcat_m_instances }}'

View File

@ -7,3 +7,5 @@ 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_public_netcdf_dir: '{{ thredds_data_content_dir }}/thredds/public/netcdf/'
thredds_dpkg_requirements:
- 'libnetcdf13'