1、ansible在线安装
yum install ansible -y
yum install python3.8
2、ansible离线安装
(1)下载离线安装包
本版本离线安装包下载资源,复制以下链接在网盘APP中打开:
百度网盘:嚯嘏存遗写荏绛佔盎言乖曰圊
夸克网盘:动作中师鞲鞯鞴多好
Index of /ansible
https://releases.ansible.com/ansible/
根据自己的python环境安装特定版本,有时python不支持高版本的ansible,会导致安装不上
(2)安装离线包
tar -zxvf ansible-2.9.26.tar.gz
cd ansible-2.9.26
python3.8 setup.py build
python3.8 setup.py install
ansible --version


1632

被折叠的 条评论
为什么被折叠?



