Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove validate certs default for info role #111

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading