File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -111,3 +111,8 @@ odoo_role_logrotate_odoo:
111111 compress
112112 delaycompress
113113 }
114+
115+ # wkhtmltopdf version
116+ wkhtmltox_version_jammy : " 0.12.6.1-2"
117+ wkhtmltox_version_bionic : " 0.12.6-1"
118+ wkhtmltox_version : " {% if ansible_distribution_release in ['jammy', 'bullseye'] %}{{ wkhtmltox_version_jammy }}{% else %}{{wkhtmltox_version_bionic}}{% endif %}"
Original file line number Diff line number Diff line change 3838
3939- name : Download and install wkhtmltopdf only if not already present at any version
4040 apt :
41- deb : " https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2 .{{ ansible_distribution_release }}_amd64.deb"
41+ deb : " https://github.com/wkhtmltopdf/packaging/releases/download/{{ wkhtmltox_version }}/wkhtmltox_{{ wkhtmltox_version }} .{{ ansible_distribution_release }}_amd64.deb"
4242 when : wkhtmltox_installed.rc == 1
4343
4444- import_tasks : pyenv.yml
You can’t perform that action at this time.
0 commit comments