main.yml 455 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1 2 3
---
- name: update latex
  become: yes
4
  environment:
julian.gethmann's avatar
julian.gethmann committed
5
    PATH: "{{ lookup('env', 'PATH') }}"
6
  command: mktexlsr
julian.gethmann's avatar
julian.gethmann committed
7 8

#- name: update latex
julian.gethmann's avatar
julian.gethmann committed
9
#  become: yes
julian.gethmann's avatar
julian.gethmann committed
10 11 12 13
#  command: shell mktexlsr /usr/local/texlive/texmf-local/
#
- name: update tlmgr
  become: yes
14 15
  action: command tlmgr update --self --all
  environment:
julian.gethmann's avatar
julian.gethmann committed
16 17 18 19 20 21 22
    PATH: "{{ lookup('env', 'PATH') }}"

- name: hash latex
  become: yes
  environment:
    PATH: "{{ lookup('env', 'PATH') }}"
  command: texhash