Caching & Multiple Inventory Sources
Merge and speed up large inventories.
Queries Cost Time
Hitting the cloud API on every run is slow when you have hundreds of hosts. Each play start pays that lookup tax again. ⏱️
Cache the Results
Inventory caching stores the fetched host data so repeated runs reuse it instead of re-querying the cloud every time.
All lessons in this course
- Static Limits & the Inventory Plugin Model
- The aws_ec2 Inventory Plugin
- constructed: Group Hosts by Tags
- Caching & Multiple Inventory Sources