diff --git a/roles/latex/tasks/KITLaTeX.yml b/roles/latex/tasks/KITLaTeX.yml index a2818e87946147d6296db702013552192bfa3184..252a5921fe282fd7c6462f1c88e9de5723b26c17 100644 --- a/roles/latex/tasks/KITLaTeX.yml +++ b/roles/latex/tasks/KITLaTeX.yml @@ -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 diff --git a/sites.yml b/sites.yml index 8155b8ee7172c92f4a8e7a19974425c0c31d948d..f95dad4b06fcf7b9bb2d3e596322f168e0bca772 100644 --- a/sites.yml +++ b/sites.yml @@ -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 - delegate_to: localhost + hosts: all + tasks: + - name: send mail to me + mail: + subject: System {{ ansible_hostname }} has been successfully provisioned. + to: Julian Gethmann + delegate_to: localhost