toansible: Add latex installation

This commit is contained in:
flyingscorpio@clevo 2022-02-22 16:14:23 +01:00
parent 641d124d5f
commit c64463df06
4 changed files with 24 additions and 12 deletions

View file

@ -271,18 +271,6 @@ gitea_backup_rsync:
- run:
- sudo systemctl enable gitea_backup_rsync.timer
latex:
- install:
arch:
- texlive-most
- texlive-lang
- biber
debian:
- texlive-full
- symlink:
- dotfiles/latexmkrc
- ~/.latexmkrc
powershell:
- clone:
url: https://aur.archlinux.org/powershell-bin.git

View file

@ -30,3 +30,5 @@
tags: sudoers
- role: lilypond
tags: lilypond
- role: latex
tags: latex

View file

@ -0,0 +1,22 @@
---
- name: Install latex packages (Archlinux)
become: true
pacman:
name:
- texlive-most
- texlive-lang
- biber
when: ansible_distribution == 'Archlinux'
- name: Install latex packages (Debian)
become: true
apt:
name:
- texlive-full
when: ansible_distribution == 'Debian'
- name: Copy latexmkrc
copy:
src: latexmkrc
dest: ~/.latexmkrc