From 5ce5c04f7d5193759cd28571aea08e4473907a2e Mon Sep 17 00:00:00 2001 From: Alicia Cozine Date: Wed, 4 Sep 2024 14:29:53 -0500 Subject: [PATCH] remove the math, does that give us a single number? --- playbooks/utils/vSphere_audit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/utils/vSphere_audit.yml b/playbooks/utils/vSphere_audit.yml index c6c65334e5..8a7cfaf2bb 100644 --- a/playbooks/utils/vSphere_audit.yml +++ b/playbooks/utils/vSphere_audit.yml @@ -130,7 +130,7 @@ - name: Try ESXI memory stats with mapping ansible.builtin.debug: - msg: The VMs on {{ item.0 }} are using {{ item.1 | int * 104576 | human_readable }} + msg: The VMs on {{ item.0 }} are using {{ item.1 | int | human_readable }} with_together: - "{{ esxi_memory_for_all_vms | map(attribute='ESXI_host') | list }}" - "{{ esxi_memory_for_all_vms | map(attribute='Sum_of_vm_mmory_in_MB') | list }}"