mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Normalize bools in tests (#5996)
* Normalize bools in tests. * Fix typo.
This commit is contained in:
parent
4c4ef80ca9
commit
24efe9ee9a
182 changed files with 770 additions and 770 deletions
|
@ -23,7 +23,7 @@
|
|||
community.general.terraform:
|
||||
project_path: "{{ terraform_project_dir }}/complex_vars"
|
||||
binary_path: "{{ terraform_binary_path }}"
|
||||
force_init: yes
|
||||
force_init: true
|
||||
complex_vars: true
|
||||
variables:
|
||||
dictionaries:
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
src: "{{ terraform_url }}"
|
||||
dest: "{{ remote_tmp_dir }}"
|
||||
mode: 0755
|
||||
remote_src: yes
|
||||
remote_src: true
|
||||
validate_certs: "{{ validate_certs }}"
|
||||
|
||||
when: terraform_version_installed is not defined or terraform_version_installed != terraform_version
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
ansible.builtin.template:
|
||||
src: templates/provider_test/main.tf.j2
|
||||
dest: "{{ terraform_project_dir }}/{{ tf_provider['name'] }}/main.tf"
|
||||
force: yes
|
||||
force: true
|
||||
register: terraform_provider_hcl
|
||||
|
||||
# The purpose of this task is to init terraform multiple times with different provider module
|
||||
|
@ -26,7 +26,7 @@
|
|||
community.general.terraform:
|
||||
project_path: "{{ terraform_provider_hcl.dest | dirname }}"
|
||||
binary_path: "{{ terraform_binary_path }}"
|
||||
force_init: yes
|
||||
force_init: true
|
||||
provider_upgrade: "{{ terraform_provider_upgrade }}"
|
||||
state: present
|
||||
register: terraform_init_result
|
||||
|
|
|
@ -14,13 +14,13 @@ terraform_arch: "{{ ansible_system | lower }}_{{terraform_arch_map[ansible_archi
|
|||
terraform_url: "https://releases.hashicorp.com/terraform/{{ terraform_version }}/terraform_{{ terraform_version }}_{{ terraform_arch }}.zip"
|
||||
|
||||
# Controls whether the unarchive task will validate TLS certs of the Terraform binary host
|
||||
validate_certs: yes
|
||||
validate_certs: true
|
||||
|
||||
# Directory where Terraform tests will be created
|
||||
terraform_project_dir: "{{ remote_tmp_dir }}/tf_provider_test"
|
||||
|
||||
# Controls whether terraform init will use the `-upgrade` flag
|
||||
terraform_provider_upgrade: yes
|
||||
terraform_provider_upgrade: true
|
||||
|
||||
# list of dicts containing Terraform providers that will be tested
|
||||
# The null provider is a good candidate, as it's small and has no external dependencies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue