move some things to workstation since it is the base

This commit is contained in:
2025-12-28 13:52:04 +01:00
parent cdbbd5da1d
commit 9bfdd24839
2 changed files with 43 additions and 17 deletions

View File

@@ -1,6 +1,25 @@
---
# tasks file for fedora_workstation
- name: Install RPM Fusion Free repository
ansible.builtin.dnf:
name: "https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ ansible_distribution_major_version }}.noarch.rpm"
state: present
disable_gpg_check: false
become: true
- name: Install RPM Fusion Nonfree repository
ansible.builtin.dnf:
name: "https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ ansible_distribution_major_version }}.noarch.rpm"
state: present
disable_gpg_check: false
become: true
- name: Update package cache after adding RPM Fusion
ansible.builtin.dnf:
update_cache: true
become: true
- name: Ensure essential packages are installed
ansible.builtin.dnf:
name:
@@ -9,3 +28,26 @@
- wget
state: present
become: true
- name: Ensure flatpak is installed
ansible.builtin.dnf:
name:
- flatpak
state: present
become: true
- name: Add flathub repository
community.general.flatpak_remote:
name: flathub
state: present
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
become: true
- name: Install flatpak applications from flathub
community.general.flatpak:
name:
- com.github.tchx84.Flatseal
- org.keepassxc.KeePassXC
state: present
remote: flathub
become: true