cloudposse / terraform-null-ansible

Terraform Module to run ansible playbooks

Home Page:https://cloudposse.com/accelerate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using with multiple servers

ap1969 opened this issue · comments

Hi,
This looks great for a single-host solution, so thanks for sharing. However, I'm admittedly new to Ansible and Terraform, and I'm wondering how this would work with a dynamic number of hosts. I understand Terraform isn't great at looped statements.

Do you have an example you could share please?

Regards,
Andy

@comeanother any tips?

@osterman what about generating temporary inventory file (like the zip archive in this module)?