2018-02-05 09:37:14 +00:00
|
|
|
---
|
|
|
|
|
2018-02-28 22:21:48 +00:00
|
|
|
- name: Setup OpenSSL dependancy
|
|
|
|
pip: name=pyOpenSSL version=16.2.0
|
2018-02-05 09:37:14 +00:00
|
|
|
|
2018-02-28 22:21:48 +00:00
|
|
|
- name: install pillow prerequisites for Debian < 8
|
2019-12-04 12:54:56 +00:00
|
|
|
apt:
|
|
|
|
pkg:
|
|
|
|
- libjpeg8-dev
|
|
|
|
- libtiff4-dev
|
|
|
|
- tcl8.5-dev
|
|
|
|
- tk8.5-dev
|
|
|
|
state: present
|
2019-12-04 13:10:07 +00:00
|
|
|
when: ansible_distribution_version is version_compare('8', 'lt')
|
2018-02-05 09:37:14 +00:00
|
|
|
|
2019-12-15 04:49:34 +00:00
|
|
|
- name: install pillow prerequisites for Debian 8
|
2019-12-04 12:54:56 +00:00
|
|
|
apt:
|
|
|
|
pkg:
|
|
|
|
- libjpeg62-turbo-dev
|
|
|
|
- libtiff5-dev
|
|
|
|
- tcl8.5-dev
|
|
|
|
- tk8.5-dev
|
|
|
|
state: present
|
2019-12-17 04:32:08 +00:00
|
|
|
when: ansible_distribution_version is version_compare('8', 'eq')
|
2019-12-15 04:49:34 +00:00
|
|
|
|
|
|
|
- name: install pillow prerequisites for Debian 9
|
2019-12-17 04:32:08 +00:00
|
|
|
apt:
|
|
|
|
pkg:
|
|
|
|
- libjpeg62-turbo-dev
|
|
|
|
- libtiff5-dev
|
|
|
|
- tcl8.5-dev
|
|
|
|
- tk8.5-dev
|
|
|
|
state: present
|
|
|
|
when: ansible_distribution_version is version_compare('9', 'eq')
|
2019-12-15 04:49:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
- name: install pillow prerequisites for Debian >= 10
|
2019-12-17 04:32:08 +00:00
|
|
|
apt:
|
|
|
|
pkg:
|
|
|
|
- libjpeg62-turbo-dev
|
|
|
|
- libtiff5-dev
|
|
|
|
- tcl8.6-dev
|
|
|
|
- tk8.6-dev
|
|
|
|
state: present
|
|
|
|
when: ansible_distribution_version is version_compare('10', 'ge')
|
2018-02-05 09:37:14 +00:00
|
|
|
|
2019-10-21 10:06:02 +00:00
|
|
|
- name: install pdf prerequisites debian
|
2019-12-04 12:54:56 +00:00
|
|
|
apt:
|
|
|
|
pkg:
|
|
|
|
- libssl-dev
|
|
|
|
state: present
|
|
|
|
force: yes
|
2019-10-21 10:06:02 +00:00
|
|
|
|
2019-12-15 04:49:34 +00:00
|
|
|
...
|