Commit b96ceff
terraform: Enable fact gathering for localhost
Terraform providers are platform-specific binaries installed to paths
that include the operating system and architecture:
~/.terraform.d/plugins/registry.terraform.io/<namespace>/<name>/<ver>/<os>_<arch>/
The DataCrunch provider integration uses ansible_system and
ansible_architecture to construct this path dynamically, allowing
the same playbook to work on Linux x86_64, Linux ARM64, macOS, etc.
These variables are Ansible facts populated by the setup module during
fact gathering. With gather_facts disabled, these variables are
undefined and the playbook fails when attempting to install or locate
the DataCrunch terraform provider.
Remove the gather_facts: false directive so Ansible collects system
facts before the terraform role executes.
Generated-by: Claude AI
Signed-off-by: Luis Chamberlain <[email protected]>1 parent 36dc2bf commit b96ceff
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
0 commit comments