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: # to verify ufw configuration run:
# sudo ufw status verbose # sudo ufw status verbose
roles: roles:
- role: libreoffice
- role: pruefungsuser - role: pruefungsuser
- role: libreoffice
tasks: tasks:
- name: Install ufw - name: Install ufw

View File

@ -12,13 +12,7 @@
state: absent state: absent
purge: true 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 - name: copy template for libreoffice
copy: copy:
src: files/Pruefung.ott src: files/Pruefung.ott
@ -26,6 +20,15 @@
owner: ansible owner: ansible
group: ansible group: ansible
mode: '0644' 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,... - name: make sure libreoffice uses ower template. spacing, border, font,...
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: /usr/share/applications/libreoffice-writer.desktop path: /usr/share/applications/libreoffice-writer.desktop