2017-08-28 11:04:46 +00:00
|
|
|
---
|
|
|
|
- name: install pillow prerequisites for Ubuntu < 14.04
|
|
|
|
apt: pkg={{ item }} state=present force=yes
|
|
|
|
with_items:
|
2017-09-05 05:26:48 +00:00
|
|
|
- libjpeg8-dev
|
2017-08-28 11:04:46 +00:00
|
|
|
- libtiff4-dev
|
|
|
|
- tcl8.5-dev
|
|
|
|
- tk8.5-dev
|
|
|
|
when: ansible_distribution_version | version_compare('14.04', 'lt')
|
|
|
|
|
|
|
|
- name: install pillow prerequisites for Ubuntu >= 14.04
|
|
|
|
apt: pkg={{ item }} state=present force=yes
|
|
|
|
with_items:
|
2017-09-05 05:26:48 +00:00
|
|
|
- libjpeg8-dev
|
2017-08-28 11:04:46 +00:00
|
|
|
- libtiff5-dev
|
|
|
|
- tcl8.6-dev
|
|
|
|
- tk8.6-dev
|
|
|
|
when: ansible_distribution_version | version_compare('14.04', 'ge')
|