ansible / terraform-provider-ansible

community terraform provider for ansible
https://registry.terraform.io/providers/ansible/ansible/latest
GNU General Public License v3.0
183 stars 42 forks source link

Please add ansible.cfg info to output #69

Open DonBower opened 8 months ago

DonBower commented 8 months ago

It would be really great if one of the outputs of the ansible_playbook resource was an output describing at least what file it used for ansible.cfg and / or the ansible.cfg configuration. Better still, add an argument to specify the ansible.cfg file.

frostyfab commented 7 months ago

Am I right in the assumption that this provider just expects the ansible.cfg lives either in the same directory as the terraform sources and/or default (system/user) locations?

If this is the case then I vote heavily for making it configurable. Its currently impossible to have ansible/terraform sources in different directories w/o linking on file system level or duplicating configuration.