- Ansible 2 Cloud Automation Cookbook
- Aditya Patawari Vikas Aggarwal
- 70字
- 2021-06-24 18:43:34
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"
}
推薦閱讀
- 數據展現的藝術
- ABB工業機器人編程全集
- Mastering Proxmox(Third Edition)
- 現代測控電子技術
- Dreamweaver CS3網頁設計與網站建設詳解
- 微型計算機控制技術
- JMAG電機電磁仿真分析與實例解析
- JBoss ESB Beginner’s Guide
- 傳感器與物聯網技術
- 完全掌握AutoCAD 2008中文版:機械篇
- Nginx高性能Web服務器詳解
- MCGS嵌入版組態軟件應用教程
- Excel 2007常見技法與行業應用實例精講
- Learning ServiceNow
- Mastering Predictive Analytics with scikit:learn and TensorFlow