Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
b8d06a69
Commit
b8d06a69
authored
Dec 18, 2018
by
julian.gethmann
Browse files
Update names of the LaTeX font system
parent
9dfb4957
Changes
3
Show whitespace changes
Inline
Side-by-side
roles/latex/tasks/KITLaTeX.yml
View file @
b8d06a69
...
...
@@ -49,10 +49,10 @@
state
:
directory
-
name
:
copy tex files
become
:
yes
copy
:
src
:
"
{{
item
}}"
dest
:
"
{{
texpath
}}/tex/latex/KIT/"
become
:
yes
remote_src
:
yes
notify
:
-
update latex
...
...
roles/latex/tasks/LaTeXfonts.yml
View file @
b8d06a69
...
...
@@ -7,7 +7,7 @@
-
name
:
Check installed fonts
become
:
yes
command
:
sudo su -c "/usr/local/bin/getnonfreefonts-sys -l | grep 'not installed'"
command
:
sudo su -c "/usr/local/bin/getnonfreefonts
-
-sys -l | grep 'not installed'"
register
:
all_fonts
changed_when
:
all_fonts.rc ==
0
ignore_errors
:
yes
...
...
@@ -33,7 +33,7 @@
become
:
yes
environment
:
PATH
:
"
{{
lookup('env',
'PATH')
}}"
command
:
sudo su -c "/usr/local/bin/getnonfreefonts-sys -a"
command
:
sudo su -c "/usr/local/bin/getnonfreefonts
-
-sys -a"
args
:
warn
:
False
when
:
all_fonts.changed
...
...
@@ -42,7 +42,7 @@
environment
:
PATH
:
"
{{
lookup('env',
'PATH')
}}"
become
:
yes
command
:
sudo su -c "/usr/local/bin/getnonfreefonts-sys -r"
command
:
sudo su -c "/usr/local/bin/getnonfreefonts
-
-sys -r"
when
:
all_fonts.changed
-
name
:
flush handlers
...
...
roles/latex/tasks/main.yml
View file @
b8d06a69
...
...
@@ -3,8 +3,8 @@
tags
:
install
-
import_tasks
:
LaTeXfonts.yml
tags
:
fonts
#
- import_tasks: KITLaTeX.yml
#
tags: kit
-
import_tasks
:
KITLaTeX.yml
tags
:
kit
-
import_tasks
:
AxelsBST.yml
-
import_tasks
:
dpg.yml
-
import_tasks
:
neo2.yml
...
...
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