mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
34 lines
924 B
YAML
34 lines
924 B
YAML
---
|
|
|
|
- name: install pillow prerequisites for Ubuntu < 14.04
|
|
apt: pkg={{ item }} state=present force=yes
|
|
with_items:
|
|
- libjpeg8-dev
|
|
- 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:
|
|
- libjpeg8-dev
|
|
- libtiff5-dev
|
|
- tcl8.6-dev
|
|
- tk8.6-dev
|
|
when: ansible_distribution_version | version_compare('14.04', 'ge')
|
|
|
|
|
|
- name: install pdf prerequisites for Ubuntu < 16.04
|
|
apt: pkg={{ item }} state=present force=yes
|
|
with_items:
|
|
- libssl-dev
|
|
when: ansible_distribution_version | version_compare('16.04', 'lt')
|
|
|
|
- name: install pdf prerequisites for Ubuntu >= 18.04
|
|
apt: pkg={{ item }} state=present force=yes
|
|
with_items:
|
|
- libssl1.0-dev
|
|
when: ansible_distribution_version | version_compare('18.04', 'ge')
|
|
|
|
... |