mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 10:56:20 +08:00
Try to correct broken 659650ef dnf loop fix
@msuchy was trying to do something good, here, but didn't get it quite right - base_pkgs_inst and base_pkgs_erase are already lists. I think this should be the right way to do it. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
@@ -149,14 +149,14 @@
|
||||
when: ansible_distribution_major_version|int < 22
|
||||
|
||||
- name: dist pkgs to remove (dnf)
|
||||
dnf: state=absent name=["{{ base_pkgs_erase }}"]
|
||||
dnf: state=absent name={{ base_pkgs_erase }}
|
||||
tags:
|
||||
- packages
|
||||
- base
|
||||
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
|
||||
|
||||
- name: dist pkgs to install (dnf)
|
||||
dnf: state=present name=["{{ base_pkgs_inst }}"]
|
||||
dnf: state=present name={{ base_pkgs_inst }}
|
||||
tags:
|
||||
- packages
|
||||
- base
|
||||
|
||||
Reference in New Issue
Block a user