Skip to content

Commit

Permalink
capitals schmapitals
Browse files Browse the repository at this point in the history
  • Loading branch information
acozine committed Oct 4, 2024
1 parent 6654120 commit 917a55e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playbooks/utils/vSphere_audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,20 +137,20 @@
- name: View free space per GP storage node
ansible.builtin.debug:
msg:
- The {{ item }} storage node has {{ slim_GB_hash | selectattr('name', 'equalto', item) | map(attribute='Storage_available') }} free space
- The {{ item }} storage node has {{ slim_GB_hash | selectattr('Name', 'equalto', item) | map(attribute='Storage_available') }} free space
loop: "{{ general_purpose_storage_nodes }}"

- name: Generate list of free space on all storage nodes
ansible.builtin.debug:
msg: The {{ item.0 }} node has {{ item.1 }} free space
with_together:
- "{{ slim_GB_hash | map(attribute='name') | list }}"
- "{{ slim_GB_hash | map(attribute='Name') | list }}"
- "{{ slim_GB_hash | map(attribute='Storage_available') | list }}"
ignore_errors: true

- name: Generate sorted list of free space on all storage nodes
ansible.builtin.debug:
msg: The {{ item.0 }} node has {{ item.1 }} free space
with_together:
- "{{ slim_GB_hash | map(attribute='name') | list }}"
- "{{ slim_GB_hash | map(attribute='Name') | list }}"
- "{{ slim_GB_hash | map(attribute='GB_available') | list | sort }}"

0 comments on commit 917a55e

Please sign in to comment.