Commit 77592e6f authored by julian.gethmann's avatar julian.gethmann

Fix LaTeX's role ansible syntax issue

parent a3d3fe59
...@@ -50,14 +50,12 @@ ...@@ -50,14 +50,12 @@
- name: copy tex files - name: copy tex files
become: yes become: yes
copy: synchronize:
src: "{{ item }}" src: "{{ tmpdir.path }}/tex/latex/KIT"
dest: "{{ texpath }}/tex/latex/KIT/" dest: "{{ texpath }}/tex/latex/KIT"
remote_src: yes
notify: notify:
- update latex - update latex
with_fileglob: delegate_to: "{{ inventory_hostname }}"
- "{{ tmpdir.path }}/tex/latex/KIT/*"
- name: create doc dir - name: create doc dir
become: yes become: yes
...@@ -67,14 +65,11 @@ ...@@ -67,14 +65,11 @@
- name: copy pdf files - name: copy pdf files
become: yes become: yes
copy: synchronize:
src: "{{ item }}" src: "{{ tmpdir.path }}/doc/latex/KIT"
dest: "{{ texpath }}/doc/latex/KIT/" dest: "{{ texpath }}/doc/latex/KIT"
remote_src: yes
notify: notify:
- update latex - update latex
with_fileglob:
- "{{ tmpdir.path }}/doc/latex/KIT/*"
# This should be deleted when the Arial task is working # This should be deleted when the Arial task is working
- name: hack Helvetica into KIT styles due to broken font installation - name: hack Helvetica into KIT styles due to broken font installation
......
...@@ -37,7 +37,10 @@ ...@@ -37,7 +37,10 @@
tags: epics tags: epics
- name: Example playbook sending mail to root - name: Example playbook sending mail to root
mail: hosts: all
subject: System {{ ansible_hostname }} has been successfully provisioned. tasks:
to: Julian Gethmann <gethmann@kit.edu> - name: send mail to me
delegate_to: localhost 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