Reihenfolge von Tasks korrigiert

This commit is contained in:
Jesko 2024-05-08 16:30:45 +02:00
parent 083e0a5396
commit 524d7a7847
1 changed files with 10 additions and 7 deletions

View File

@ -12,13 +12,7 @@
state: absent
purge: true
- name: link libreoffice to desktop
file:
src: /usr/share/applications/libreoffice-writer.desktop
dest: "/home/{{ pruefungsuser}}/Schreibtisch/test-link.desktop"
owner: "{{ pruefungsuser }}"
group: "{{ pruefungsuser }}"
state: link
- name: copy template for libreoffice
copy:
src: files/Pruefung.ott
@ -26,6 +20,15 @@
owner: ansible
group: ansible
mode: '0644'
- name: link libreoffice to desktop
file:
src: /usr/share/applications/libreoffice-writer.desktop
dest: "/home/{{ pruefungsuser}}/Schreibtisch/test-link.desktop"
owner: "{{ pruefungsuser }}"
group: "{{ pruefungsuser }}"
state: link
- name: make sure libreoffice uses ower template. spacing, border, font,...
ansible.builtin.lineinfile:
path: /usr/share/applications/libreoffice-writer.desktop