Separate Hard Disk guest

I need separate hard disk information in number of hard disk and his information. For example, I have 2 disk and only need 1 disk information.

My YAML is:

If you're sure that you always want the first (i.e. index 0) item,
then it should be as easy as:

   - debug:
         msg: "{{disk_facts.guest_disk_facts | first }}"

Alternatively you can use selectattr/map to filter out a specific
entry, for instance based on the label or backing_filename.

Dick

When i’m use {{disk_facts.guest_disk_facts | first }} the result is:

ok: [host1] => {
“msg”: “1”
}