Created sub-task for default rpm uninstall with loop
This commit is contained in:
parent
842c18ee93
commit
e2f6f37408
2 changed files with 9 additions and 4 deletions
|
|
@ -6,8 +6,9 @@
|
|||
- name: "Uninstall Default rpm software"
|
||||
ansible.builtin.include_tasks: rpmostree_override.yml
|
||||
vars:
|
||||
pkg_path: "/usr/lib64/gnome-software/plugins-22/libgs_plugin_rpm-ostree.so"
|
||||
package: "gnome-software-rpm-ostree"
|
||||
pkg_path: "{{ item.pkg_path }}"
|
||||
package: "{{ item.name }}"
|
||||
with_items: "{{ silverblue_rem_packages }}"
|
||||
|
||||
- name: "Upgrade the rpm-ostree image"
|
||||
ansible.posix.rpm_ostree_upgrade:
|
||||
|
|
|
|||
|
|
@ -2,8 +2,12 @@
|
|||
# vars file for fedoraSilverblue
|
||||
|
||||
silverblue_rem_packages:
|
||||
- gnome-software-rpm-ostree
|
||||
- gnome-software
|
||||
- name: "gnome-software-rpm-ostree"
|
||||
pkg_path: "/usr/lib64/gnome-software/plugins-22/libgs_plugin_rpm-ostree.so"
|
||||
- name: "gnome-software"
|
||||
pkg_path: "/usr/sbin/gnome-software"
|
||||
- name: "gnome-tour"
|
||||
pkg_path: "/usr/sbin/gnome-tour"
|
||||
|
||||
silverblue_packages:
|
||||
- python-psutil
|
||||
|
|
|
|||
Loading…
Reference in a new issue