2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 04:59:01 +00:00

feat(playbooks): wkthmltox for Ubuntu 20 (#1019)

* Updating file to support Ubuntu20.04 LTS
* Update main.yml
* Update bench/playbooks/roles/wkhtmltopdf/tasks/main.yml
* Removed checksum from Ubuntu 20

Co-authored-by: gavin <gavin18d@gmail.com>
This commit is contained in:
Nikunj Patel 2020-06-24 09:10:03 +02:00 committed by GitHub
parent d491f6938d
commit 3336cff2b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,12 @@
force: yes force: yes
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- name: download wkthmltox Ubuntu 20
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'
- name: download wkthmltox Ubuntu 18 - name: download wkthmltox Ubuntu 18
get_url: get_url:
url: https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_{{ "amd64" if ansible_architecture == "x86_64" else "i386"}}.deb url: https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_{{ "amd64" if ansible_architecture == "x86_64" else "i386"}}.deb