roles/libreoffice/tasks/main.yml aktualisiert
This commit is contained in:
parent
dbc8eb0482
commit
ce3c1daa2c
|
@ -8,6 +8,7 @@
|
|||
apt:
|
||||
name:
|
||||
- hunspell
|
||||
- ispell
|
||||
state: absent
|
||||
purge: true
|
||||
- name: link libreoffice to desktop
|
||||
|
@ -17,3 +18,15 @@
|
|||
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'
|
||||
- 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"
|
Loading…
Reference in New Issue