2018-04-04 20:21:53 +02:00
|
|
|
---
|
|
|
|
- block:
|
|
|
|
- name: apt key for the internal ppa repository
|
|
|
|
apt_key: url=http://ppa.research-infrastructures.eu/system/keys/system-archive.asc state=present
|
|
|
|
|
|
|
|
- name: Setup the infrascience trusty repository
|
|
|
|
apt_repository: repo='deb [arch=amd64] http://ppa.research-infrastructures.eu/trusty-infrascience {{ ansible_distribution_release }} main' update_cache=yes
|
|
|
|
|
|
|
|
- name: Install the hdf5 packages
|
2020-05-25 19:39:43 +02:00
|
|
|
apt: pkg={{ hdf5_pkgs_list }} state={{ hdf5_pkg_state }} update_cache=yes cache_valid_time=3600
|
2018-04-04 20:21:53 +02:00
|
|
|
|
2020-05-25 19:39:43 +02:00
|
|
|
when: ansible_distribution_release == 'trusty'
|
|
|
|
tags: [ 'hdf5' ]
|
|
|
|
|
|
|
|
- block:
|
|
|
|
- name: Install the hdf5 packages
|
|
|
|
apt: pkg={{ hdf5_bionic_pkgs_list }} state={{ hdf5_pkg_state }} update_cache=yes cache_valid_time=3600
|
|
|
|
|
|
|
|
when: ansible_distribution_release == 'bionic'
|
|
|
|
tags: [ 'hdf5' ]
|