There seems to be something wrong with the input on this:
---
- hosts: localhost
tasks:
- name: Enabling third party repos
become: true
become_user: root
dnf:
state: present
name:
- fedora-workstation-repositories
- name: Installing the RPM Fusion free repository
dnf:
state: present
name:
- https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
- name: Installing the RPM Fusion non-free repository
dnf:
state: present
name:
- https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
This is the error:
fatal: [localhost]: FAILED! => {"changed": false, "msg": "It appears that a space separated string of packages was passed in as an argument. To operate on several packages, pass a comma separated string of packages or a list of packages."}
Can someone help me? Thanks