Normalize bools in tests (#5996)

* Normalize bools in tests.

* Fix typo.
This commit is contained in:
Felix Fontein 2023-02-15 22:55:23 +01:00 committed by GitHub
commit 24efe9ee9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
182 changed files with 770 additions and 770 deletions

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -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