0
Q:

The Python 2 bindings for rpm are needed for this module. If you require Python 3 support use the `dnf` Ansible module instead.. The Python 2 yum module is needed for this module. If you require Python 3 support use the `dnf` Ansible module instead.

---
- hosts: localhost
  tasks:
    - name: Install prerequisites packages
      yum:
        name: unzip
        state: present
      vars:
        ansible_python_interpreter: /usr/bin/python
0

New to Communities?

Join the community