LateX.yml 719 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1 2 3 4 5 6
---
# Install LaTeX and KIT classes on host
# not tested yet

- name: Install Fedora's LaTeX
  become: yes
7 8
  dnf:
    name: texlive
julian.gethmann's avatar
julian.gethmann committed
9
    state: present
julian.gethmann's avatar
julian.gethmann committed
10 11 12
  tags: latex

- name: Install LaTeX subpackages
13
  become: yes
14 15
  dnf:
    name: "{{ item }}"
julian.gethmann's avatar
julian.gethmann committed
16
    state: present
julian.gethmann's avatar
julian.gethmann committed
17
  with_items: "{{ texlivepackages }}"
18
  when: ansible_distribution == "Fedora"
julian.gethmann's avatar
julian.gethmann committed
19 20 21 22 23 24

  # - 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
25
  #
julian.gethmann's avatar
julian.gethmann committed
26 27 28 29 30 31
  # - 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