安装ansible,并查看版本使用ansible localhost -m ping查看是否成功 1.挂载 2.没有本地源或网络源的先写本地源或网络源 我写的本地源 3.下载相关的包 4.根据自己版本下载python 5.下载ansible 6.检查版本