marshallford / terraform-provider-ansible

Run Ansible playbooks using Terraform.
https://registry.terraform.io/providers/marshallford/ansible
MIT License
3 stars 0 forks source link

Data source(s) to help build inventory file #34

Open marshallford opened 5 months ago

marshallford commented 5 months ago

Add data source(s) like ansible_host, ansible_group, and perhaps ansible_inventory that would assist users in generating valid ansible inventory YAML. Take inspiration from the aws_iam_policy_document data source. This data source would not make calls to any ansible binary, just help render ansible inventory YAML to pass to ansible_navigator_run.inventory. Purely optional. Not related to the existing Ansible inventory plugin for Terraform (cloud.terraform.terraform_provider).