Ansible基础——ansible基础用法

ansible 基本用法 - ping #ping服务器是否能通 如:ansible all -m ping - command #在远程主机上执行命令,并将结果返回本主机,hosts为定义的主机清单中的用户组 如:ansible -i hosts test -m command -a "chdir

posted on 2024-05-08 20:35  gkhost  阅读(2)  评论(0编辑  收藏  举报

导航