- Ansible 2 Cloud Automation Cookbook
- Aditya Patawari Vikas Aggarwal
- 97字
- 2021-06-24 18:43:35
Executing playbooks locally
Most of the time, during the course of this book, our playbooks will be running locally and interacting with a cloud provider. The cloud provider, usually, exposes an API over HTTPS. Generally, we need an inventory file, which has a record of all the hosts, for Ansible to run the playbooks. Let us try to work around it.
The easiest way of running a playbook locally is by using the keyword localhost in the playbook as a value for the hosts key. This will save us from creating and managing the inventory file altogether.
推薦閱讀
- 基于LabWindows/CVI的虛擬儀器設計與應用
- Learning Apache Cassandra(Second Edition)
- Visual C# 2008開發技術詳解
- 工業機器人現場編程(FANUC)
- 新手學電腦快速入門
- 計算機網絡安全
- 計算機網絡原理與技術
- 西門子變頻器技術入門及實踐
- Deep Reinforcement Learning Hands-On
- Word 2007,Excel 2007辦公應用融會貫通
- 基于Proteus的單片機應用技術
- Hands-On SAS for Data Analysis
- AMK伺服控制系統原理及應用
- 數據庫基礎:Access
- 數據庫技術:Access 2003計算機網絡技術