main.yml 456 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
---
- name: update latex
  become: yes
  environment: 
    PATH: "{{ lookup('env', 'PATH') }}"
  command: mktexlsr 

#- name: update latex
  become: yes
#  command: shell mktexlsr /usr/local/texlive/texmf-local/
#
- name: update tlmgr
  become: yes
  action: shell tlmgr update --self --all 
  environment: 
    PATH: "{{ lookup('env', 'PATH') }}"

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