kh-eek.ghostscript
Role Name
=========
Ansible role to install GhostScript
Requirements
None
Role Variables
Here’s a list of variables you can set for this role:
gs_major_version: 9
The major version number of GhostScript.gs_minor_version: 21
The minor version number of GhostScript.gs_archive: "ghostscript-{{ gs_major_version }}.{{ gs_minor_version }}"
The name of the GhostScript archive file.gs_archive_checksum:
The SHA256 checksum for the GhostScript archive.gs_archive_dir: "/tmp/{{ gs_archive }}.tar.gz"
The directory to download the GhostScript archive.gs_unarchive_dir: "/tmp/{{ gs_archive }}"
The directory where the GhostScript archive will be unzipped.gs_fonts_install: false
Set this to true if you want to install GhostScript fonts.gs_fonts_download_url: "https://nchc.dl.sourceforge.net/project/gs-fonts/gs-fonts/8.11%20%28base%2035%2C%20GPL%29/ghostscript-fonts-std-8.11.tar.gz"
The URL to download GhostScript fonts.gs_fonts_archive: ghostscript-fonts-std-8.11.tar.gz
The name of the GhostScript fonts archive.
Dependencies
None
Example Playbook
Here’s an example of how to use this role, with variables passed in:
- hosts: servers
roles:
- { role: kh-eek.ghostscript }
License
BSD
Author Information
Sida Say (sidasay@kheek.com)
Ansible role to install GhostScript and GhostScript fonts on CentOS
ansible-galaxy install kh-eek.ghostscript