2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

fix(playbooks): Support wkhtmltox arm64 architecture

For Ubuntu 20.04 LTS and later
This commit is contained in:
Hendy Irawan 2020-10-03 14:33:12 +07:00 committed by Hendy Irawan
parent 0367010335
commit d6d1b91a79

View File

@ -20,11 +20,17 @@
force: yes
when: ansible_os_family == 'Debian'
- name: download wkthmltox Ubuntu 20
- name: download wkthmltox Ubuntu 20 amd64
get_url:
url: https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.focal_amd64.deb
dest: /tmp/wkhtmltox.deb
when: ansible_distribution == 'Ubuntu' and ansible_distribution_major_version == '20'
when: ansible_distribution == 'Ubuntu' and ansible_distribution_major_version == '20' and ansible_architecture == 'x86_64'
- name: download wkthmltox Ubuntu 20 arm64
get_url:
# wkhtmltox supports arm64 starting from 0.12.6
url: https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_arm64.deb
dest: /tmp/wkhtmltox.deb
when: ansible_distribution == 'Ubuntu' and ansible_distribution_major_version == '20' and ansible_architecture == 'aarch64'
- name: download wkthmltox Ubuntu 18
get_url: