wkhtmltopdf
Installs wkhtmltopdf (precompiled binary) and it's dependencies for Debian/Ubuntu.
Tested with :
- Debian 10.x ✔️
- Debian 9.x ✔️
- Ubuntu 20.04.x ✔️
- Ubuntu 18.04.x ✔️
Role Variables
wkhtmltopdf_base_url: https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download
wkhtmltopdf_version: "0.12.5" # the version to install
wkhtmltopdf_dependencies:
- fontconfig
Example playbook
---
- hosts: servers
gather_facts: yes
become: yes
roles:
- fidanf.wkhtmltopdf
License
BSD / MIT