官术网_书友最值得收藏!

How to do it…

We just have to use the Ansible command and pass the ping module as an argument to parameter -m. A successful execution will return the string pong. It signifies that Ansible can reach the server and execute tasks, subject to the authorization level of the user, of course:

$ ansible localhost -m ping
localhost | SUCCESS => {
"changed": false,
"failed": false,
"ping": "pong"
}
主站蜘蛛池模板: 金坛市| 扶沟县| 常熟市| 湛江市| 边坝县| 新疆| 灵川县| 临江市| 阜新市| 建平县| 诸城市| 集贤县| 内乡县| 汝城县| 滨州市| 枝江市| 韶山市| 昌邑市| 桐乡市| 奈曼旗| 高平市| 临西县| 华坪县| 黑水县| 合山市| 东山县| 六枝特区| 霍城县| 三穗县| 淮北市| 新平| 五指山市| 枞阳县| 云龙县| 卢龙县| 濉溪县| 新邵县| 喜德县| 剑川县| 奇台县| 山阴县|