yum -y install ansible --downloadonly --downloaddir=./ansible
[root@VM-16-2-centos ~]
已加载插件:fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* elrepo: mirrors.tuna.tsinghua.edu.cn
正在解决依赖关系
--> 正在检查事务
---> 软件包 ansible.noarch.0.2.9.27-1.el7 将被 安装
--> 正在处理依赖关系 python-httplib2,它被软件包 ansible-2.9.27-1.el7.noarch 需要
zip -r ansible.zip ansible/
yum -y install python-jinja2 --downloadonly --downloaddir=./ansible
yum -y install libmysqlclient.so.18 --downloadonly --downloaddir=./ansible