mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 08:15:54 +02:00
Update to 2022-02-22 18:00
This commit is contained in:
3
roles/wkhtmltopdf/defaults/main.yml
Normal file
3
roles/wkhtmltopdf/defaults/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
|
||||
wkhtmltopdf_version: 0.12.6-1
|
15
roles/wkhtmltopdf/tasks/main.yml
Normal file
15
roles/wkhtmltopdf/tasks/main.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
|
||||
# Load distribution specific variables
|
||||
- include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
- "{{ role_path }}/vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
||||
- "{{ role_path }}/vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml"
|
||||
- "{{ role_path }}/vars/{{ ansible_distribution }}.yml"
|
||||
- "{{ role_path }}/vars/{{ ansible_os_family }}.yml"
|
||||
tags: wkhtmltopdf
|
||||
|
||||
- name: Install wkhtmltopdf
|
||||
yum: name={{ wkhtmltopdf_package_url }} disable_gpg_check=True
|
||||
when: ansible_os_family == 'RedHat'
|
||||
tags: wkhtmltopdf
|
3
roles/wkhtmltopdf/vars/RedHat-8.yml
Normal file
3
roles/wkhtmltopdf/vars/RedHat-8.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
|
||||
wkhtmltopdf_package_url: https://github.com/wkhtmltopdf/packaging/releases/download/{{ wkhtmltopdf_version }}/wkhtmltox-{{ wkhtmltopdf_version }}.centos8.x86_64.rpm
|
Reference in New Issue
Block a user