d4science-ghn-cluster: Install a newer version of pandoc on all the dataminer servers.

This commit is contained in:
Andrea Dell'Amico 2016-07-05 13:59:45 +02:00
parent 4c6df5199e
commit 57da7a671e
2 changed files with 15 additions and 0 deletions

7
pandoc/defaults/main.yml Normal file
View File

@ -0,0 +1,7 @@
---
pandoc_install: False
pandoc_pkg_version: 1.17.1
pandoc_pkg_file: 'pandoc-{{ pandoc_pkg_version }}-2-amd64.deb'
pandoc_pkg_url: 'https://github.com/jgm/pandoc/releases/download/{{ pandoc_pkg_version }}/{{ pandoc_pkg_file }}'

8
pandoc/tasks/main.yml Normal file
View File

@ -0,0 +1,8 @@
---
- name: Get the pandoc deb package
get_url: url={{pandoc_pkg_url}} dest=/srv/{{ pandoc_pkg_file }}
tags: pandoc
- name: Install the pandoc deb package
apt: deb=/srv/{{ pandoc_pkg_file }}
tags: pandoc