mirror of https://github.com/ansible/ansible.git
Allow InventoryScript JSON with childgroups only
and without hosts and vars
Without this patch, the simplified syntax is triggered when a group
is defined like this:
"platforms": {
"children": [
"cloudstack"
]
}
Which results in a group 'platforms' with 1 host 'platforms'.
modified: lib/ansible/inventory/script.py
pull/8936/head
parent
dc1f233e8d
commit
69740b86e8
Loading…
Reference in New Issue