LateX.yml 656 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 23 24 25 26
---
# Install LaTeX and KIT classes on host
# not tested yet

- name: Install Fedora's LaTeX
  dnf: name=texlive state=installed
  become: yes
  tags: latex

- name: Install LaTeX subpackages
  dnf: name={{item}} state=latest
  become: yes
  with_items: "{{ texlivepackages }}"

  # - name: profile.d (for TL {{tlyear}})
  #   copy: src=latex.sh dest=/etc/profile.d/latex.sh owner=root group=root mode=744
  #   become: yes
  #   tags: latex
  #   register: latexsh
  # 
  # - name: run latex.sh (for TL {{tlyear}})
  #   action: shell bash /etc/profile.d/latex.sh
  #   become: yes
  #   tags: latex
  #   notify: update latex
  #   when: latexsh|changed