![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ansible
文章平均质量分 80
批量自动化
贪欢001
这个作者很懒,什么都没留下…
展开
-
02、ansible基础使用
1、 管理主机1.1、对管理主机进行检查(检查被管主机能否正常执行ansible发送到的python功能模块和指令)[root@control ~]# ansible localhost - m ping localhost | SUCCESS => { “changed”: false, “ping”: “pong” &原创 2022-03-22 17:03:48 · 984 阅读 · 0 评论 -
01、ansible基础使用
1、ansible基础使用 Ansible是一款简洁、高效的运维自动化工具。只需要将ansible安装在主控机器上,就可以通过SSH协议实现针对大量受管服务器的批量化、剧本化的管理。1.1、ansible安装和配置[root@control ~]# yum repolist[root@control ~]# yum -y install ansible1.1.1、检查ansible的配置文件[root@control ~]# rpm -ql an原创 2022-03-22 11:30:10 · 1395 阅读 · 0 评论