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

41 lines
899 B
YAML
Raw Normal View History

2018-02-28 22:21:48 +00:00
---
- name: install pillow prerequisites for Ubuntu < 14.04
apt:
pkg:
- libjpeg8-dev
- libtiff4-dev
- tcl8.5-dev
- tk8.5-dev
state: present
force: yes
when: ansible_distribution_version is version_compare('14.04', 'lt')
2018-02-28 22:21:48 +00:00
- name: install pillow prerequisites for Ubuntu >= 14.04
apt:
pkg:
- libjpeg8-dev
- libtiff5-dev
- tcl8.6-dev
- tk8.6-dev
state: present
force: yes
when: ansible_distribution_version is version_compare('14.04', 'ge')
2018-02-28 22:21:48 +00:00
2019-10-21 10:10:19 +00:00
- name: install pdf prerequisites for Ubuntu < 18.04
apt:
pkg:
- libssl-dev
state: present
force: yes
when: ansible_distribution_version is version_compare('18.04', 'lt')
- name: install pdf prerequisites for Ubuntu >= 18.04
apt:
pkg:
- libssl1.0-dev
state: present
force: yes
when: ansible_distribution_version is version_compare('18.04', 'ge')
2018-02-28 22:21:48 +00:00
...