Compare commits

..

2 Commits

Author SHA1 Message Date
Jesko 51912ac674 Reihenfolge der Rollen korrigiert 2024-05-08 16:32:54 +02:00
Jesko 524d7a7847 Reihenfolge von Tasks korrigiert 2024-05-08 16:30:45 +02:00
2 changed files with 12 additions and 8 deletions

View File

@ -10,8 +10,9 @@
# to verify ufw configuration run:
# sudo ufw status verbose
roles:
- role: libreoffice
- role: pruefungsuser
- role: libreoffice
tasks:
- name: Install ufw

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