
1. python安装- python3.10安装
# dnf install wget make gcc bzip2-devel openssl-devel zlib-devel libffi-devel -y
# wget https://www.python.org/ftp/python/3.10.5/Python-3.10.5.tgz
# tar xvf Python-3.10.5.tgz
# cd Python-3.10.5
# ./configure --enable-optimizations && make -j2 && make install -j2
2. yum 安装ansible- 更新系统
# sudo dnf update -y
- 重启系统
# sudo reboot
- 配置 EPEL 存储库
# sudo dnf install -y epel-release
- 安装 Ansible
# sudo dnf install ansible -y
- 查看 Ansible 版本
...



