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:
parent
515c9a567a
commit
e9f970c058
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue