随笔分类 -  Ansible

摘要:一、基本用法 ansible 基本用法 - ping #ping服务器是否能通 如:ansible all -m ping - command #在远程主机上执行命令,并将结果返回本主机,hosts为定义的主机清单中的用户组 如:ansible -i hosts test -m command -a 阅读全文
posted @ 2024-05-08 20:36 gkhost 阅读(67) 评论(0) 推荐(0)