Commit 7a97df94 authored by julian.gethmann's avatar julian.gethmann

Fix permissions for LaTeX installation

parent 950d3992
......@@ -7,7 +7,14 @@
- name: install dependencies
dnf:
name: ["texlive-a0poster", "texlive-beamer", "texlive-bophook", "texlive-boxedminipage", "texlive-dinbrief", "texlive-hyperref", "texlive-lettrine", "texlive-mathpazo", "texlive-rcs", "texlive-sciposter", "texlive-shadow", "texlive-pgf", "texlive-xcolor", "{{ kit_tikz }}",]
name: ["texlive-a0poster", "texlive-beamer", "texlive-bophook", "texlive-boxedminipage", "texlive-dinbrief", "texlive-hyperref", "texlive-lettrine", "texlive-mathpazo", "texlive-rcs", "texlive-sciposter", "texlive-shadow", "texlive-pgf", "texlive-xcolor",]
state: present
skip_broken: yes
become: yes
- name: install dependencies
dnf:
name: "{{ kit_tikz }}"
state: present
skip_broken: yes
become: yes
......@@ -16,6 +23,7 @@
tempfile:
prefix: ansi
state: directory
mode: 0755
register: tmpdir
- name: Add ssh-key for the LaTeX repository
......@@ -44,6 +52,7 @@
file:
path: "{{ texpath }}/tex/latex/KIT"
state: directory
mode: 0755
- name: copy tex files
become: yes
......@@ -59,6 +68,7 @@
file:
path: "{{ texpath }}/doc/latex/KIT"
state: directory
mode: 0755
- name: copy pdf files
become: yes
......@@ -72,8 +82,8 @@
# This should be deleted when the Arial task is working
- name: hack Helvetica into KIT styles due to broken font installation
lineinfile:
line: "\\RequirePackage{helvet}"
regexp: "\\RequirePackage{(uarial|helvet)}"
line: "\\\\RequirePackage{helvet}"
regexp: "\\\\RequirePackage{(uarial|helvet)}"
dest: "{{ texpath }}/tex/latex/KIT/{{ item }}"
backup: yes
become: yes
......
......@@ -17,7 +17,7 @@
get_url:
dest: "{{ texpath }}"
url: "https://www.tug.org/fonts/getnonfreefonts/install-getnonfreefonts"
mode: 0777
mode: 0755
register: tex_fonts_dl_ok
when: gnff_available.changed
......
......@@ -4,12 +4,14 @@
file:
path: "{{ texpath }}/tex/latex"
state: directory
mode: 0755
- name: Install DPG-Tagungen document class
become: yes
copy:
src: scdpg.cls
dest: "{{ texpath }}/tex/latex/"
mode: 0755
notify:
- hash latex
tags: latex
......@@ -19,6 +21,7 @@
copy:
src: jacow.cls
dest: "{{ texpath }}/tex/latex/"
mode: 0755
notify:
- hash latex
tags: latex
......@@ -42,6 +42,7 @@
src: /tmp/uniinput.sty
dest: "{{ texpath }}/tex/latex/uniinput/uniinput.sty"
remote_src: yes
mode: 0755
notify: update latex
when: sty_file is defined and sty_file.changed
......@@ -51,5 +52,6 @@
src: /tmp/uniinput.pdf
dest: "{{ texpath }}/doc/latex/uniinput/uniinput.pdf"
remote_src: yes
mode: 0755
notify: update latex
when: pdf_file is defined and pdf_file.changed
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment