Rainbond版本:offline.2019-09-03-5.1.7
操作系统:centos7.4
内核版本:
环境:(云服务商,虚拟机等)公司服务器
节点配置:单节点
安装类型:离线安装
如何复现:系统默认Python版本是2.7,安装时报过Python版本过低时升级到了3.6。现出现问题如下:
TASK [prepare : remove centos firewall pkg] *******************************************************
fatal: [423a927d-2c4d-8886-cd66-96ced0cbc7d9]: 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."}
PLAY RECAP ****************************************************************************************
423a927d-2c4d-8886-cd66-96ced0cbc7d9 : ok=21 changed=2 unreachable=0 failed=1 skipped=26 rescued=0 ignored=0
ERROR MESSAGE SUMMARY *****************************************************************************
[423a927d-2c4d-8886-cd66-96ced0cbc7d9]: Ansible FAILED! => playbook: setup.yml; TASK: prepare : remove centos firewall pkg; message: {"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."}
相关截图:
