Ошибка: ansible fatal FAILED 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.


Задача

---
- name: Install packages
  # ansible.builtin.yum:
  yum:
    name: yum-utils
  become: yes 
  become_user: root

Ошибка

TASK [docker : Install packages] ***********************************************************************************************************************************************************************
fatal: [specialistoff.net]: FAILED! => {"changed": false, "msg": "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."}
Ответы
Возможно будут интересны и другие вопросы
© RemiZOffAlex