模块 ping模块 shell常用模块命令 模块 pingansible -i /root/workspace/inventory/test.ini group002 -m ping 常见返回值 模块 shellansible -i /root/workspace/inventory/test.ini group001 -m shell -a "free -m" ansible -i /etc/ansible/hosts web-servers -m script -a "./script.sh"