Hi Team
I need to verify if all disk size equal
I have n number of disk. I have written a loop that gives size of disk. Now how do I verify all disks are equal size?
- name: Check the size of the disk
shell: |
bootinfo -s “{{ item }}”
with_items: “{{ rootvg.stdout_lines }}”
register: disk_size
Output of bootinfo command is size of disk
$ bootinfo -s hdisk0
70006
$ bootinfo -s hdisk1
70006
Thankyou!