Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jakoblichterfeld/ansible-role-latex_texlive

An Ansible role to install LaTeX TeX Live via DVD download
https://github.com/jakoblichterfeld/ansible-role-latex_texlive

ansible ansible-galaxy-role ansible-role equivs latex texlive

Last synced: about 2 months ago
JSON representation

An Ansible role to install LaTeX TeX Live via DVD download

Awesome Lists containing this project

README

        

# Ansible Role: LaTeX TeX Live

[![CI](https://github.com/JakobLichterfeld/ansible-role-latex_texlive/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/JakobLichterfeld/ansible-role-latex_texlive/actions/workflows/ci.yml)
[![Publish role on Ansible Galaxy](https://github.com/JakobLichterfeld/ansible-role-latex_texlive/actions/workflows/publish_role_on_ansible_galaxy.yml/badge.svg?branch=main)](https://github.com/JakobLichterfeld/ansible-role-latex_texlive/actions/workflows/publish_role_on_ansible_galaxy.yml)

Install LaTeX TeX Live via DVD download.

- Download and verify (sha512) the specified Tex Live DVD ISO
- Install GUI for Installer
- Mount the ISO and install TeX Live from mounted ISO with given options
- Adjust the Path
- Add CTAN repo to TeX Live
- Prevent TeX Live packages from being installed as a dependency by the package manager with the help of a downloaded equivs file
- Remove texlive-doc packages (optional)

## Requirements

None.

## Role Variables

Available variables are listed below, along with default values (see `defaults/main.yml`):

| Name | Default Value | Description |
| -------------- | --------------- | -----------------------------------|
| `download_dir_on_remote_host` | "/home/{{ ansible_user }}/Downloads/automatically_by_ansible_playbook" | Download Base Directory on Remote Host |
| `latex_texlive.texlive.version` | "2024" | TeX Live Version you want to install |
| `latex_texlive.texlive.install_options` | "--paper=a4 --no-doc-install --no-src-install" | Additional TeX Live installation options you want to use |
| `latex_texlive.equivs.version` | "2022" | Equivs version to use to prevent TeX Live packages from being installed as a dependency by the package manager |
| `latex_texlive.remove_texlive_doc` | true | Whether to remove texlive-doc packages |

## Dependencies

None.

## Example Playbook

```yaml
---
- hosts: all
gather_facts: true
become: true

roles:
- role: jakoblichterfeld.latex_texlive

```

## License

MIT

## Author Information

This role was created in 2023 by [Jakob Lichterfeld](https://github.com/JakobLichterfeld).