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:
Adam Williamson 2018-11-27 15:03:46 -08:00
parent 515c9a567a
commit e9f970c058

View file

@ -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