Skip to content

Provides executable for converting html to pdf via dockerized chrome headless

Notifications You must be signed in to change notification settings

pinkeen/ansible-html-to-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert html to pdf using dockerized chrome headless

Upon executing this role a wrapper script /usr/bin/html-to-pdf will be provided.

It takes two arguments:

  • The url to convert
  • The output filename

Security

Remember that normal users cannot run docker because this would allow outright root privelege escalation.

You can use sudoers to allow a specific users sudo access to this script.

About

Provides executable for converting html to pdf via dockerized chrome headless

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages