55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
---
|
|
# 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:
|
|
- zsh
|
|
- curl
|
|
- wget
|
|
- fastfetch
|
|
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
|