修改ansible hosts文件
    Vim /etc/ansible/hosts
    image.png
    使用ping模块向主机10.240.2.126发起ping查询
    image.png