Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
903ec772
Commit
903ec772
authored
Jan 14, 2019
by
julian.gethmann
Browse files
Options
Browse Files
Download
Plain Diff
Fix issues with LaTeX
* Fix syntax errors * Update path * Workaround for broken Arial role
parents
9f6a716b
2f7d2c45
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
18 deletions
+17
-18
roles/latex/tasks/KITLaTeX.yml
roles/latex/tasks/KITLaTeX.yml
+10
-14
sites.yml
sites.yml
+7
-4
No files found.
roles/latex/tasks/KITLaTeX.yml
View file @
903ec772
...
...
@@ -32,12 +32,13 @@
state
:
directory
register
:
tmpdir
# This should be changed when the Arial task is working
-
name
:
clone git repo
git
:
repo
:
https://git.scc.kit.edu/las
/templat
es/KITlatex.git
repo
:
"
https://git.scc.kit.edu/las
-software/15-4-Utiliti
es/KITlatex.git
"
dest
:
"
{{
tmpdir.path
}}"
clone
:
yes
version
:
HEAD
version
:
helvetica
update
:
yes
become
:
yes
register
:
kit_git
...
...
@@ -50,14 +51,12 @@
-
name
:
copy tex files
become
:
yes
copy
:
src
:
"
{{
item
}}"
dest
:
"
{{
texpath
}}/tex/latex/KIT/"
remote_src
:
yes
synchronize
:
src
:
"
{{
tmpdir.path
}}/tex/latex/KIT"
dest
:
"
{{
texpath
}}/tex/latex/KIT"
notify
:
-
update latex
with_fileglob
:
-
"
{{
tmpdir.path
}}/tex/latex/KIT/*"
delegate_to
:
"
{{
inventory_hostname
}}"
-
name
:
create doc dir
become
:
yes
...
...
@@ -67,14 +66,11 @@
-
name
:
copy pdf files
become
:
yes
copy
:
src
:
"
{{
item
}}"
dest
:
"
{{
texpath
}}/doc/latex/KIT/"
remote_src
:
yes
synchronize
:
src
:
"
{{
tmpdir.path
}}/doc/latex/KIT"
dest
:
"
{{
texpath
}}/doc/latex/KIT"
notify
:
-
update latex
with_fileglob
:
-
"
{{
tmpdir.path
}}/doc/latex/KIT/*"
# This should be deleted when the Arial task is working
-
name
:
hack Helvetica into KIT styles due to broken font installation
...
...
sites.yml
View file @
903ec772
...
...
@@ -37,7 +37,10 @@
tags
:
epics
-
name
:
Example playbook sending mail to root
mail
:
subject
:
System {{ ansible_hostname }} has been successfully provisioned.
to
:
Julian Gethmann <gethmann@kit.edu>
delegate_to
:
localhost
hosts
:
all
tasks
:
-
name
:
send mail to me
mail
:
subject
:
System {{ ansible_hostname }} has been successfully provisioned.
to
:
Julian Gethmann <gethmann@kit.edu>
delegate_to
:
localhost
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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