Commit 903ec772 authored by julian.gethmann's avatar julian.gethmann

Fix issues with LaTeX

* Fix syntax errors
* Update path
* Workaround for broken Arial role
parents 9f6a716b 2f7d2c45
......@@ -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/templates/KITlatex.git
repo: "https://git.scc.kit.edu/las-software/15-4-Utilities/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
......
......@@ -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
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