Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ucegg
ansible
Commits
7a97df94
Commit
7a97df94
authored
Jun 27, 2019
by
julian.gethmann
Browse files
Fix permissions for LaTeX installation
parent
950d3992
Changes
4
Hide whitespace changes
Inline
Side-by-side
roles/latex/tasks/KITLaTeX.yml
View file @
7a97df94
...
...
@@ -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
...
...
roles/latex/tasks/LaTeXfonts.yml
View file @
7a97df94
...
...
@@ -17,7 +17,7 @@
get_url
:
dest
:
"
{{
texpath
}}"
url
:
"
https://www.tug.org/fonts/getnonfreefonts/install-getnonfreefonts"
mode
:
07
77
mode
:
07
55
register
:
tex_fonts_dl_ok
when
:
gnff_available.changed
...
...
roles/latex/tasks/dpg.yml
View file @
7a97df94
...
...
@@ -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
roles/latex/tasks/neo2.yml
View file @
7a97df94
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment