Interview Prep/Real-World Interview/Terraform and Ansible

What is `delegate_to`?

AdvancedConceptTerraform and Ansible
Answer

It runs a task on a different host than the current target, but in that target's context. A common use is calling a load balancer API from localhost to deregister the current host.

All Real-World Interview questions Roadmap: Interview readiness

More on Terraform and Ansible