2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 17:24:04 +00:00
bench/playbooks/roles/common/tasks/debian.yml

24 lines
567 B
YAML
Raw Normal View History

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
apt: pkg={{ item }} state=present
2018-02-05 09:37:14 +00:00
with_items:
2018-02-28 22:21:48 +00:00
- libjpeg8-dev
- libtiff4-dev
- tcl8.5-dev
- tk8.5-dev
when: ansible_distribution_version | version_compare('8', 'lt')
2018-02-05 09:37:14 +00:00
2018-02-28 22:21:48 +00:00
- name: install pillow prerequisites for Debian >= 8
apt: pkg={{ item }} state=present
2018-02-05 09:37:14 +00:00
with_items:
2018-02-28 22:21:48 +00:00
- libjpeg62-turbo-dev
- libtiff5-dev
- tcl8.5-dev
- tk8.5-dev
when: ansible_distribution_version | version_compare('8', 'ge')
2018-02-05 09:37:14 +00:00
...