Skip to content

Commit

Permalink
Merge pull request #7 from ansiblebit/develop
Browse files Browse the repository at this point in the history
2.16.6
  • Loading branch information
steenzout authored Dec 12, 2016
2 parents 021478d + fbaa242 commit 84f5725
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ Variables used in the `build` installation process.
- **wkhtmltopdf_dir_chroot**: directory to setup chroot environment.
- **wkhtmltopdf_dir_source**: directory where to store the source tarball.
- **wkhtmltopdf_dir_source_version**: directory where to extract the tarball or clone the git repository.
- **wkhtmltopdf_source_dependencies**: list of packages needed to build the software.
- **wkhtmltopdf_force_build**: compile software.
- **wkhtmltopdf_runtime_dependencies**: list of packages needed to run the software.
- **wkhtmltopdf_tarball_download_url**: URL to download tarball.
- **wkhtmltopdf_force_build**: .
- **wkhtmltopdf_slug**: git repository slug to be cloned.
- **wkhtmltopdf_tarball**: tarball basename.

Expand Down
14 changes: 12 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,18 @@ wkhtmltopdf_dir_source_version: "{{ wkhtmltopdf_dir_source }}/wkhtmltox-{{ wkhtm

wkhtmltopdf_force_build: no

wkhtmltopdf_source_dependencies:
- xorg
wkhtmltopdf_runtime_dependencies:
- fontconfig
- freetype
- glibc
- libstdc++
- libX11
- libXext
- libXrender
- openssl
- xorg-x11-fonts-Type1
- xorg-x11-fonts-75dpi
- zlib

wkhtmltopdf_slug: wkhtmltopdf/wkhtmltopdf

Expand Down
2 changes: 1 addition & 1 deletion tasks/source/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- wkhtmltopdf_dir_source
- wkhtmltopdf_dir_source_version
- wkhtmltopdf_force_build
- wkhtmltopdf_source_dependencies
- wkhtmltopdf_runtime_dependencies
- wkhtmltopdf_slug
- wkhtmltopdf_tarball
- wkhtmltopdf_tarball_download_url
Expand Down
2 changes: 1 addition & 1 deletion tasks/source/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
become: yes
when: (task_version_installed is defined and task_version_installed.rc != 0)
with_items:
- "{{ wkhtmltopdf_source_dependencies }}"
- "{{ wkhtmltopdf_runtime_dependencies }}"

- name: build | download and install source (using tarball or git)
include: "{{ wkhtmltopdf_build }}.yml"
Expand Down
2 changes: 1 addition & 1 deletion tasks/source/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- wkhtmltopdf_dir_source
- wkhtmltopdf_dir_source_version
- wkhtmltopdf_force_build
- wkhtmltopdf_source_dependencies
- wkhtmltopdf_runtime_dependencies
- wkhtmltopdf_slug
- wkhtmltopdf_tarball
- wkhtmltopdf_tarball_download_url

0 comments on commit 84f5725

Please sign in to comment.