[CentOS] ansible dnf with stream

2020-12-25 Thread Łukasz Posadowski
I wish You a Merry Christmas. Have a great time. Aside from that, I'm having a strange problem with dnf module on Ansible with CentOS Stream. I'm using Ansible 2.9 on RHEL 8. TASK [Install basic packages on RedHat-like systems.]

Re: [CentOS] ansible dnf with stream

2020-12-25 Thread Anand Buddhdev
On 25/12/2020 11:30, Łukasz Posadowski wrote: Hi Lukasz, > The task in question is: > > - name: Install basic packages on RedHat-like systems. > dnf: > name: > - bash-completion > - htop > - mc > - vim > - mtr > - tree > - net-tools >

Re: [CentOS] ansible dnf with stream

2020-12-25 Thread Łukasz Posadowski
Fri, 25 Dec 2020 12:34:04 +0100 Anand Buddhdev : > I haven't tested, but my instinct points at the "enablerepo" line. > You've written "epel-modular, epel" with a space. YAML preserves the > space, and passes it to dnf, and perhaps it's causing a problem. Can > you try it without the space? What i