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

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"
}
主站蜘蛛池模板: 邵武市| 邹平县| 阿勒泰市| 板桥市| 吴桥县| 商都县| 紫阳县| 神农架林区| 盐边县| 无棣县| 万荣县| 汽车| 黔南| 元氏县| 伊宁县| 临邑县| 土默特右旗| 辽源市| 玉树县| 兴安县| 丹寨县| 濮阳市| 乌鲁木齐县| 思茅市| 瑞安市| 石河子市| 连江县| 新安县| 英超| 邢台市| 盘山县| 洛宁县| 四子王旗| 从化市| 正安县| 宿松县| 六枝特区| 巴林左旗| 长治县| 交口县| 南京市|