einrückung korrigiert

This commit is contained in:
Jesko 2024-05-08 16:19:53 +02:00
parent e9498e6cb0
commit 7d226e85ce
1 changed files with 17 additions and 16 deletions

View File

@ -11,22 +11,23 @@
- ispell
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
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
dest: "/home/{{ pruefungsuser }}/Pruefung.ott"
owner: ansible
group: ansible
mode: '0644'
copy:
src: files/Pruefung.ott
dest: "/home/{{ pruefungsuser }}/Pruefung.ott"
owner: ansible
group: ansible
mode: '0644'
- name: make sure libreoffice uses ower template. spacing, border, font,...
ansible.builtin.lineinfile:
path: /usr/share/applications/libreoffice-writer.desktop
regexp: 'Exec=libreoffice --writer %U'
line: "Exec=libreoffice --writer %U -n /home/{{ pruefungsuser }}/Pruefung.ott"
ansible.builtin.lineinfile:
path: /usr/share/applications/libreoffice-writer.desktop
regexp: 'Exec=libreoffice --writer %U'
line: "Exec=libreoffice --writer %U -n /home/{{ pruefungsuser }}/Pruefung.ott"