yum list ansible 检测是否有epel源。如果没有可以到阿里云下载。再安装
yum -y install ansible.
ansible -v 查看版本的信息
ansible的使用格式:
ansible topass123 -m command -a hostname
本文来自博客园,作者:topass123,转载请注明原文链接:https://www.cnblogs.com/topass123/p/12554780.html
ansible topass123 -m command -a hostname
本文来自博客园,作者:topass123,转载请注明原文链接:https://www.cnblogs.com/topass123/p/12554780.html