2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 17:24:04 +00:00
bench/playbooks/roles/common/tasks/ubuntu.yml
2019-10-21 15:40:19 +05:30

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 < 18.04
apt: pkg={{ item }} state=present force=yes
with_items:
- libssl-dev
when: ansible_distribution_version | version_compare('18.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')
...