vi /etc/ansible/hosts
[ts] 192.168.1.106
执行命令 ansible ts -m ping
192.168.1.106 | success >> { "changed": false, "ping": "pong" }