Skip to content

Commit

Permalink
remove validate certs default for info role
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorency authored and bardielle committed Oct 28, 2024
1 parent fa07e72 commit f434b80
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- info - Remove redundant default value for info_validate_certs so the role is consistent with others
2 changes: 1 addition & 1 deletion roles/info/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
info_hostname: "{{ vmware_ops_collection_hostname }}"
info_username: "{{ vmware_ops_collection_username }}"
info_password: "{{ vmware_ops_collection_password }}"
info_validate_certs: "{{ vmware_ops_collection_validate_certs | default(true) }}"
info_validate_certs: "{{ vmware_ops_collection_validate_certs }}"
info_port: "{{ vmware_ops_collection_port }}"

info_expose_outputs_as_variable: true
Expand Down
2 changes: 1 addition & 1 deletion roles/info/tasks/appliance_info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
username: "{{ info_username }}"
password: "{{ info_password }}"
port: "{{ info_port | d(omit) }}"
validate_certs: "{{ info_validate_certs }}"
validate_certs: "{{ info_validate_certs | default(omit) }}"
properties: "{{ info_appliance_gather }}"
register: __appliance

Expand Down
4 changes: 2 additions & 2 deletions roles/info/tasks/cluster_info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
vcenter_hostname: "{{ info_hostport }}"
vcenter_username: "{{ info_username }}"
vcenter_password: "{{ info_password }}"
vcenter_validate_certs: "{{ info_validate_certs }}"
vcenter_validate_certs: "{{ info_validate_certs | default(omit) }}"
register: __clusters
tags:
- cluster
Expand All @@ -14,7 +14,7 @@
username: "{{ info_username }}"
password: "{{ info_password }}"
port: "{{ info_port | d(omit) }}"
validate_certs: "{{ info_validate_certs }}"
validate_certs: "{{ info_validate_certs | default(omit) }}"
cluster_name: "{{ item.name }}"
schema: vsphere
properties:
Expand Down
2 changes: 1 addition & 1 deletion roles/info/tasks/guest_info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
username: "{{ info_username }}"
password: "{{ info_password }}"
port: "{{ info_port | d(omit) }}"
validate_certs: "{{ info_validate_certs }}"
validate_certs: "{{ info_validate_certs | default(omit) }}"
register: __guests

- name: Write Guest Results To File
Expand Down
2 changes: 1 addition & 1 deletion roles/info/tasks/license_info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
username: "{{ info_username }}"
password: "{{ info_password }}"
port: "{{ info_port | d(omit) }}"
validate_certs: "{{ info_validate_certs }}"
validate_certs: "{{ info_validate_certs | default(omit) }}"
register: __license

- name: Write License Results To File
Expand Down
2 changes: 1 addition & 1 deletion roles/info/tasks/storage_info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
username: "{{ info_username }}"
password: "{{ info_password }}"
port: "{{ info_port | d(omit) }}"
validate_certs: "{{ info_validate_certs }}"
validate_certs: "{{ info_validate_certs | default(omit) }}"
register: __storage_policy

- name: Write Storage Policy Results To File
Expand Down

0 comments on commit f434b80

Please sign in to comment.