Skip to content

Commit

Permalink
fix: add jammy package for Ubuntu 22
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed Apr 3, 2024
1 parent d728b80 commit 71a0ae1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bench/playbooks/roles/wkhtmltopdf/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@
force: yes
when: ansible_os_family == 'Debian'

- name: download wkthmltox Ubuntu 22
get_url:
url: https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.jammy_amd64.deb
dest: /tmp/wkhtmltox.deb
when: ansible_distribution == 'Ubuntu' and ansible_distribution_major_version == '22' and ansible_architecture != 'aarch64'

- name: download wkthmltox Ubuntu 22 arm64
get_url:
# wkhtmltox supports arm64 starting from 0.12.6
url: https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.jammy_arm64.deb
dest: /tmp/wkhtmltox.deb
when: ansible_distribution == 'Ubuntu' and ansible_distribution_major_version == '22' and ansible_architecture == 'aarch64'

- 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
Expand Down

0 comments on commit 71a0ae1

Please sign in to comment.