SpecialistOff.NET / Вопросы / Статьи / Фрагменты кода / Резюме / Метки / Помощь / Файлы
Список вопросов ПечатьМетки: ansible docker centos python yum dnf
Задача
---
- 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."}