Skip to content

Commit

Permalink
and better names again
Browse files Browse the repository at this point in the history
  • Loading branch information
acozine committed Sep 13, 2024
1 parent 5b92f72 commit b995315
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 @@ -76,11 +76,11 @@
ansible.builtin.set_fact:
storage_nodes: "{{ storage_info.datastores | map(attribute='info.name') | unique | sort }}"

- name: View list of templates
- name: View list of available templates
ansible.builtin.debug:
var: template_names

- name: View the list of ESXi hosts
- name: View list of ESXi hosts
ansible.builtin.debug:
var: esxi_hostnames

Expand All @@ -102,7 +102,7 @@
ansible.builtin.debug:
var: storage_nodes

- name: better view of storage info
- name: View free space per storage node
ansible.builtin.debug:
msg: The {{ item }} datastore has {{ storage_info.datastores | selectattr('info.name', 'equalto', item) | map(attribute='info.freeSpace') | sum | human_readable }} of free space.
loop: "{{ storage_nodes }}"

0 comments on commit b995315

Please sign in to comment.