mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
[PR #11479/476f2bf6 backport][stable-12] Integration tests: replace ansible_xxx with ansible_facts.xxx (#11480)
Integration tests: replace ansible_xxx with ansible_facts.xxx (#11479)
Replace ansible_xxx with ansible_facts.xxx.
(cherry picked from commit 476f2bf641)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -8,7 +8,7 @@ terraform_version: 1.1.7
|
||||
|
||||
# Architecture of the downloaded Terraform release (needs to match target testing platform)
|
||||
|
||||
terraform_arch: "{{ ansible_system | lower }}_{{terraform_arch_map[ansible_architecture] }}"
|
||||
terraform_arch: "{{ ansible_facts.system | lower }}_{{terraform_arch_map[ansible_facts.architecture] }}"
|
||||
|
||||
# URL of where the Terraform binary will be downloaded from
|
||||
terraform_url: "https://releases.hashicorp.com/terraform/{{ terraform_version }}/terraform_{{ terraform_version }}_{{ terraform_arch }}.zip"
|
||||
@@ -32,7 +32,7 @@ terraform_provider_versions:
|
||||
source: "hashicorp/null"
|
||||
version: ">=3.0.0"
|
||||
|
||||
# mapping between values returned from ansible_architecture and arch names used by golang builds of Terraform
|
||||
# mapping between values returned from ansible_facts.architecture and arch names used by golang builds of Terraform
|
||||
# see https://www.terraform.io/downloads
|
||||
|
||||
terraform_arch_map:
|
||||
|
||||
Reference in New Issue
Block a user