Interview Prep/Real-World Interview/Terraform and Ansible

How do you speed up a slow Ansible run?

AdvancedConceptTerraform and Ansible
Answer

Raise forks, enable SSH pipelining (pipelining = True), use gather_facts: false or fact caching, use strategy: free where ordering doesn't matter, and pass lists to package modules instead of looping.

All Real-World Interview questions Roadmap: Interview readiness

More on Terraform and Ansible