摘要: Ansible 通过读取默认的主机清单配置/etc/ansible/hosts,可以同时连接到多个远程主机上执行任务, 默认路径可以通过修改 ansible.cfg 的 hostfile 参数指定路径。 一、Hosts and Groups(主机与组) 对于/etc/ansible/hosts最简单 阅读全文
posted @ 2021-01-27 10:29 小飞侠Kobe 阅读(126) 评论(0) 推荐(0) 编辑