Thomas Stallinger 97220bfecc refactor: brave-fedora/onlyoffice-fedora auf distro-unabhängige Namen umbenennen
Fedora-Installer wurde zurückgestellt (Installationsprobleme), Fokus liegt
jetzt auf Mint, später weitere Distros. Beide Rollen sind über Flatpak
implementiert und damit schon jetzt distributionsunabhängig - die
"-fedora"-Benennung war irreführend. Konvention: kein Suffix = bewusst
distro-unabhängig (wie schon guest-session), "-mint"/"-fedora"-Suffix nur
für tatsächlich distro-spezifische Logik.

roles/brave-fedora -> roles/brave, roles/onlyoffice-fedora -> roles/onlyoffice,
Marker-Dateinamen und Task-Namen angepasst, site.yml und README aktualisiert.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-04 16:19:46 +02:00

42 lines
1.2 KiB
YAML

- name: Ensure marker directory exists
ansible.builtin.file:
path: /run/tuxflotte/agent/applied
state: directory
mode: "0755"
- name: Ensure flathub remote is configured
community.general.flatpak_remote:
name: flathub
flatpakrepo_url: https://flathub.org/repo/flathub.flatpakrepo
state: present
method: system
when: tuxflotte_state == "present"
- name: Install OnlyOffice via Flatpak
community.general.flatpak:
name: org.onlyoffice.desktopeditors
remote: flathub
state: present
method: system
when: tuxflotte_state == "present"
- name: Record that the onlyoffice role ran
ansible.builtin.copy:
dest: /run/tuxflotte/agent/applied/onlyoffice.marker
content: "{{ ansible_date_time.iso8601 }}\n"
mode: "0644"
when: tuxflotte_state == "present"
- name: Remove OnlyOffice Flatpak (Auftrag abgewählt)
community.general.flatpak:
name: org.onlyoffice.desktopeditors
state: absent
method: system
when: tuxflotte_state == "absent"
- name: Remove onlyoffice marker (Auftrag abgewählt)
ansible.builtin.file:
path: /run/tuxflotte/agent/applied/onlyoffice.marker
state: absent
when: tuxflotte_state == "absent"