- 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.
推薦閱讀
- 蕩胸生層云:C語言開發(fā)修行實(shí)錄
- Learning Social Media Analytics with R
- IoT Penetration Testing Cookbook
- Pig Design Patterns
- AWS Certified SysOps Administrator:Associate Guide
- Ceph:Designing and Implementing Scalable Storage Systems
- 大數(shù)據(jù)時(shí)代
- The Python Workshop
- ESP8266 Robotics Projects
- Spatial Analytics with ArcGIS
- 三菱FX/Q系列PLC工程實(shí)例詳解
- 大數(shù)據(jù)導(dǎo)論
- MongoDB 4 Quick Start Guide
- PowerPoint 2010幻燈片制作高手速成
- 玩轉(zhuǎn)PowerPoint