1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/inventory_yaml/test.yml
Brian Coca fc71cde7d3
Yaml inventory more tolerant (#48883)
* make yaml inv more tolerant to comments
* add tests for bad inventory processing

fixes #47254
2018-11-30 22:04:39 -05:00

27 lines
730 B
YAML

all:
children:
kids:
hosts:
marcia:
popular: True
jan:
popular: False
cindy:
popular: True
greg:
popular: True
peter:
popular: False
bobby:
popular: False
vars:
in_trouble: True
cousins:
children:
redheads:
hosts:
#oliver: # this used to cause an error and deliver incomplete inventory
the-maid:
hosts:
alice:
status: single