Skip to main content

Packages Role

Install and manage RPM, Flatpak, and Python packages and repositories.


Variables​

VariableTypeOptionsDefaultDescription
packages_package_statestringpresent, absent, latest, skippresentdesired state of system packages
packages_rpmfusion_package_statestringpresent, latest, skipskipdesired state of RPM Fusion packages
packages_additional_package_statestringpresent, absent, latest, skippresentdesired state of additional packages
packages_flatpak_package_statestringpresent, absent, latest, skipdesired state of Flatpak packages
packages_python_package_statestringpresent, absent, latest, skippresentdesired state of Python packages
packages_packagelist of string---["curl","mkpasswd","python3-pip","rsync","zstd"]list of system packages to manage
packages_rpmfusion_packagelist of string---["https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ ansible_facts['distribution_major_version'] }}.noarch.rpm","https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ ansible_facts['distribution_major_version'] }}.noarch.rpm"]list of RPM Fusion packages to manage
packages_additional_packagelist of string---[]list of additional packages to manage
packages_flatpak_packagelist of dict---[]list of Flatpak packages to manage
packages_python_packagelist of string---[]list of Python packages to manage
packages_flatpak_reposlist of dict---[{"name":"flathub","flatpakrepo_url":"https://dl.flathub.org/repo/flathub.flatpakrepo","state":"present"}]Flatpak remotes to add
packages_flatpak_repos_removelist of string---[]Flatpak remotes to remove
packages_copr_reposlist of dict---[]COPR repositories to enable