forked from ISTI-ansible-roles/ansible-roles
21 lines
806 B
YAML
21 lines
806 B
YAML
---
|
|
- 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
|
|
apt: pkg={{ hdf5_pkgs_list }} state={{ hdf5_pkg_state }} update_cache=yes cache_valid_time=3600
|
|
|
|
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' ]
|