I want to install RPM Fusion repository on Fedora 32 Server virtual machine with Ansible
I've tried various possibility unsuccessfully :
- name: Enable the RPM Fusion repository
command: dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion- free-release-$(rpm -E %fedora).noarch.rpm
when: ansible_facts['os_family'] == 'Fedora' and ansible_facts['distribution_major_version'] == '32'
or
- name: Enable the RPM Fusion repository
dnf:
name: 'https://download1.rpmfusion.org/free/fedora/rpmfusion- free-release-$(rpm -E %fedora).noarch.rpm'
state: present
when: ansible_facts['os_family'] == 'Fedora' and ansible_facts['distribution_major_version'] == '32'
Every time the task is skipped
TASK [Enable the RPM Fusion repository] *******************************************************************************
skipping: [my-ip-address]
Do you have an idea?
Thanks!