2017-08-28 11:04:46 +00:00
|
|
|
---
|
2017-09-05 14:05:28 +00:00
|
|
|
- name: Setup OpenSSL dependancy
|
|
|
|
pip: name=pyOpenSSL version=16.2.0
|
|
|
|
|
2017-08-28 11:04:46 +00:00
|
|
|
- name: install pillow prerequisites for Debian < 8
|
|
|
|
apt: pkg={{ item }} state=present
|
|
|
|
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('8', 'lt')
|
|
|
|
|
|
|
|
- name: install pillow prerequisites for Debian >= 8
|
|
|
|
apt: pkg={{ item }} state=present
|
|
|
|
with_items:
|
2017-09-05 05:26:48 +00:00
|
|
|
- libjpeg62-turbo-dev
|
2017-08-28 11:04:46 +00:00
|
|
|
- libtiff5-dev
|
|
|
|
- tcl8.5-dev
|
|
|
|
- tk8.5-dev
|
|
|
|
when: ansible_distribution_version | version_compare('8', 'ge')
|