On Tue, 3 Nov 2020 11:18:52 +0100
"Stefan Hornburg (Racke)" <[email protected]> wrote:

> hosts should be a list, not a dict, e.g.
> 
> {
>     "group": {
>         "hosts": [
>             "192.168.28.71",
>             "192.168.28.72"
>         ],

You're right. The inventory plugin script.py tests *hosts* is a list
https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/inventory/script.py#L182

-- 
Vladimir Botka

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20201103151140.6608ea75%40gmail.com.

Attachment: pgptw4Yry3joP.pgp
Description: OpenPGP digital signature

Reply via email to