Python 2 bindings for rpm code example
Example: 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