mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Tidy example inventories in "Developing Dynamic Inventory Sources" (#18758)
Thanks @adamchainz!
This commit is contained in:
parent
fe9af903f3
commit
f1c4b434cd
1 changed files with 24 additions and 21 deletions
|
@ -76,11 +76,14 @@ The data to be added to the top level JSON dictionary looks like this::
|
||||||
|
|
||||||
"_meta": {
|
"_meta": {
|
||||||
"hostvars": {
|
"hostvars": {
|
||||||
"moocow.example.com" : { "asdf" : 1234 },
|
"moocow.example.com": {
|
||||||
"llama.example.com" : { "asdf" : 5678 }
|
"asdf" : 1234
|
||||||
|
},
|
||||||
|
"llama.example.com": {
|
||||||
|
"asdf": 5678
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
Loading…
Add table
Reference in a new issue