From 745249784385a3d4a5a2abe531386bf0f0979f98 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 14 Sep 2016 13:37:49 +0200 Subject: [PATCH] library/roles/octave: Install some additional packages needed by octave to process the output formats. --- octave/defaults/main.yml | 3 +++ octave/tasks/main.yml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/octave/defaults/main.yml b/octave/defaults/main.yml index 098bfb29..faba5d2c 100644 --- a/octave/defaults/main.yml +++ b/octave/defaults/main.yml @@ -5,3 +5,6 @@ octave_pkg_state: latest octave_pkgs: - octave +octave_external_deps: + - epstool + - transfig diff --git a/octave/tasks/main.yml b/octave/tasks/main.yml index 8af3da58..3bafe995 100644 --- a/octave/tasks/main.yml +++ b/octave/tasks/main.yml @@ -7,6 +7,10 @@ apt: pkg={{ item }} state={{ octave_pkg_state }} update_cache=yes cache_valid_time=3600 with_items: '{{ octave_pkgs }}' + - name: Install the octave external dependencies packages + apt: pkg={{ item }} state={{ octave_pkg_state }} update_cache=yes cache_valid_time=3600 + with_items: '{{ octave_external_deps }}' + tags: octave when: octave_install