Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorency committed Dec 5, 2024
1 parent afbb041 commit bf5ea5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion roles/info/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
license: "{{ __license.licenses | default([]) }}"
appliance: "{{ __appliance.appliance | default({}) }}"
guest: "{{ __guests.guests | default([]) }}"
cluster: "{{ _clusters_info.results | default([]) | map(attribute='clusters') }}"
cluster: "{{ __clusters_info.results | default([]) | map(attribute='clusters') }}"
storage: "{{ __storage_policy.spbm_profiles | default([]) }}"
when: info_expose_outputs_as_variable
10 changes: 5 additions & 5 deletions tests/integration/targets/vmware_ops_info_test/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
- vmware_ops_info_outputs.cluster is defined
- vmware_ops_info_outputs.storage is defined

- (vmware_ops_info_outputs.appliance | length | bool) == info_appliance
- (vmware_ops_info_outputs.license | length | bool) == info_license
- (vmware_ops_info_outputs.guest | length | bool) == info_guest
- (vmware_ops_info_outputs.cluster | length | bool) == info_cluster
- (vmware_ops_info_outputs.storage | length | bool) == info_storage
- (vmware_ops_info_outputs.appliance.keys() | length > 0) == info_appliance
- (vmware_ops_info_outputs.license | length > 0) == info_license
- (vmware_ops_info_outputs.guest | length > 0) == info_guest
- (vmware_ops_info_outputs.cluster | length > 0) == info_cluster
- (vmware_ops_info_outputs.storage | length > 0) == info_storage

0 comments on commit bf5ea5d

Please sign in to comment.