Inventory script JSAN output and reserved inventory parameters

Hello to everyone on the list,

Is it possible to add reserved inventory parameters when using an inventory script ?

If yes, how do look like the JSON output ?

Thanks for any help

Do you mean something like ansible_ssh_port ?

Yes, you can set this in the JSON just as any other variable would be set.

Let me know if I can help answer something more specific.

Hello everyone,

Yes that’s it, it was ansible connection.

But it was my script which did not parse well its args ( -list instead of --list).

Sorry for the noise everyone