Role that add our internal trusty repository and installs newer hdf5 library and tools.
This commit is contained in:
parent
a5d1babc0b
commit
90850eefa6
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
hdf5_install: True
|
||||
hdf5_pkg_state: latest
|
||||
|
||||
hdf5_pkgs_list:
|
||||
- hdf5-tools
|
||||
- hdf5-helpers
|
||||
- libhdf5-10
|
||||
- libhdf5-dev
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- 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={{ item }} state={{ hdf5_pkg_state }} update_cache=yes cache_valid_time=3600
|
||||
with_items: '{{ hdf5_pkgs_list }}'
|
||||
|
||||
tags: [ 'hdf5' ]
|
Loading…
Reference in New Issue