I have a yaml file and I would like to go through each of the element in the below yaml file using Ansible.
Can someone help me here?
---
hardwares:
- VM.Standard2.1:
- Oracle Linux:
- '7.9'
- '8'
CentOS:
- '8'
Canonical Ubuntu:
- '20.04'
- VM.Standard.E4.Flex:
- Oracle Linux:
- '7.9'
- '8'
CentOS:
- '8'
Canonical Ubuntu:
- '20.04'
- VM.Standard.E3.Flex:
- Oracle Linux:
- '7.9'
- '8'
CentOS:
- '8'
Canonical Ubuntu:
- '20.04'
- VM.Standard.A1.Flex:
- Oracle Linux:
- '7.9'
- '8'
Canonical Ubuntu:
- '20.04'