- 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"
}
推薦閱讀
- 基于LabWindows/CVI的虛擬儀器設計與應用
- 樂高機器人EV3設計指南:創造者的搭建邏輯
- Google App Inventor
- 大數據安全與隱私保護
- DevOps:Continuous Delivery,Integration,and Deployment with DevOps
- 網絡綜合布線設計與施工技術
- Nginx高性能Web服務器詳解
- Deep Reinforcement Learning Hands-On
- Visual FoxPro程序設計
- 電腦日常使用與維護322問
- 格蠹匯編
- Spark大數據商業實戰三部曲:內核解密|商業案例|性能調優
- Cortex-M3嵌入式處理器原理與應用
- 案例解說Delphi典型控制應用
- Data Analysis with R(Second Edition)