Ansible基础——ansible基础用法
摘要:ansible 基本用法 - ping #ping服务器是否能通 如:ansible all -m ping - command #在远程主机上执行命令,并将结果返回本主机,hosts为定义的主机清单中的用户组 如:ansible -i hosts test -m command -a "chdir
阅读全文
posted @ 2024-05-08 20:35