Carve out a place for ostree packages on immutable distros

This commit is contained in:
Salt 2025-01-21 01:24:07 -06:00
parent a2971b3df4
commit 8b743f3b9e
3 changed files with 11 additions and 1 deletions

View File

@ -45,7 +45,6 @@
community.general.rpm_ostree_pkg:
name:
- htop
- ibm-plex-fonts-all
- ncdu
- vim
when: ansible_os_family == "RedHat" and ansible_pkg_mgr == "atomic_container"

View File

@ -148,6 +148,14 @@ desktop_apt_packages_remove_extra: []
desktop_apt_debs: []
desktop_apt_debs_extra: []
desktop_dnf_packages:
- foot
- htop
- ibm-plex-fonts-all
- ncdu
- vim
desktop_dnf_packages_extra: []
desktop_flatpak_remotes:
- name: flathub
url: "https://dl.flathub.org/repo/flathub.flatpakrepo"

View File

@ -27,6 +27,9 @@
ansible.builtin.apt: deb="{{ item }}"
loop: "{{ desktop_apt_debs + desktop_apt_debs_extra }}"
when: ansible_pkg_mgr == "apt"
- name: configure packages for ostree
community.general.rpm_ostree_pkg: name="{{ desktop_dnf_packages + desktop_dnf_packages_extra }}"
when: ansible_os_family == "RedHat" and ansible_pkg_mgr == "atomic_container"
- name: configure pip3 packages
ansible.builtin.pip: executable=/usr/bin/pip3 state=latest name="{{ desktop_pip3_packages + desktop_pip3_packages_extra }}"
when: ansible_pkg_mgr == "apt"