Need a little hint on yaml syntax for a very simple inventory file.
I want to include dhcp range of workstations in a nice inventory file. Regarding the official documentation this could be done but i'm not on the right track Need a little clue.
---
all:
hosts:
site0:
hosts:
192.168.0.[100:200]
site1:
hosts:
192.168.1.[100:200]
site2:
hosts:
192.164.2.[100:200]
site3:
hosts:
192.168.3.[1.50]
Can someone help me to achieve this ? Thanks