basic flatpak install role

This commit is contained in:
ProgramSnail 2025-08-14 10:55:14 +03:00
parent 5fb61ca8fc
commit a12979cfe8

View file

@ -0,0 +1,171 @@
- name: Install flatpak
become: true
ansible.builtin.dnf5:
name:
- flatpak
state: latest
- name: Add the flathub flatpak repository
community.general.flatpak_remote:
name: flathub
state: present
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
method: user
- name: Install utils
community.general.flatpak:
name:
- com.github.tchx84.Flatseal
- org.clementine_player.Clementine
- org.atheme.audacious
- io.mpv.Mpv
- org.kde.keysmith
- org.localsend.localsend_app
- com.interversehq.qView
- com.obsproject.Studio
- com.belmoussaoui.Decoder
- app.organicmaps.desktop
- org.gnome.World.PikaBackup
- org.kde.isoimagewriter
- org.kde.kamoso
- org.kde.kcalc
- org.kde.kweather
- com.github.phase1geo.minder
- io.github.nuttyartist.notes
state: present
method: user
when: "'utils' in flatpak_apps"
- name: Install web browsers
community.general.flatpak:
name:
- io.gitlab.librewolf-community
- io.github.ungoogled_software.ungoogled_chromium
- org.garudalinux.firedragon
state: present
method: user
when: "'web' in flatpak_apps"
- name: Install docs tools
community.general.flatpak:
name:
- com.github.arminstraub.krop
- com.github.jeromerobert.pdfarranger
- net.scribus.Scribus
- org.kde.calligra
- org.libreoffice.LibreOffice
- org.kde.skanpage
- dev.ters.LocalTranslate
- re.sonny.Eloquent
state: present
method: user
when: "'docs' in flatpak_apps"
- name: Install notes tools
community.general.flatpak:
name:
- com.github.flxzt.rnote
- com.github.xournalpp.xournalpp
state: present
method: user
when: "'notes' in flatpak_apps"
- name: Install ai tools
community.general.flatpak:
name:
- com.jeffser.Alpaca
state: present
method: user
when: "'ai' in flatpak_apps"
- name: Install art tools
community.general.flatpak:
name:
- io.github.guillaumechereau.Goxel
- io.github.lainsce.DotMatrix
- org.blender.Blender
- org.inkscape.Inkscape
- org.kde.krita
- org.mattbas.Glaxnimate
- org.mypaint.MyPaint
state: present
method: user
when: "'art' in flatpak_apps"
- name: Install tools for things production
community.general.flatpak:
name:
- org.kicad.KiCad
- com.bambulab.BambuStudio
state: present
method: user
when: "'production' in flatpak_apps"
- name: Install gamedev tools
community.general.flatpak:
name:
- org.godotengine.GodotSharp
- org.mapeditor.Tiled
-
state: present
method: user
when: "'gamedev' in flatpak_apps"
- name: Install dev tools
community.general.flatpak:
name:
- dev.lapce.lapce
- io.qt.QtCreator
- io.github.cleomenezesjr.Escambo
- org.kde.kommit
- org.kde.kompare
- org.kde.okteta
- org.flatpak.Builder
- org.zealdocs.Zeal
state: present
method: user
when: "'dev' in flatpak_apps"
- name: Install games
community.general.flatpak:
name:
- com.usebottles.bottles
- org.gnome.Boxes
- net.lutris.Lutris
- com.vysp3r.ProtonPlus
- eu.vcmi.VCMI
- net.hhoney.rota
- org.hedgewars.Hedgewars
- org.kde.kigo
- org.prismlauncher.PrismLauncher
- page.kramo.Cartridges
state: present
method: user
when: "'games' in flatpak_apps"
- name: Install messaging apps
community.general.flatpak:
name:
- org.claws_mail.Claws-Mail
- im.fluffychat.Fluffychat
# - im.kaidan.kaidan # does not support old protocols, bad campatibility with anther clients
- org.gajim.Gajim
- org.kde.neochat
- org.telegram.desktop
- so.libdb.dissent
state: present
method: user
when: "'messaging' in flatpak_apps"
- name: Install study apps
community.general.flatpak:
name:
- org.kde.kig
- org.kde.ktouch
- io.github.david_swift.Flashcards
- org.kde.kwordquiz
# - org.lamport.tla.toolbox
- org.zotero.Zotero
state: present
method: user
when: "'study' in flatpak_apps"