# Inventory script JSAN output and reserved inventory parameters

**URL:** <https://forum.ansible.com/t/inventory-script-jsan-output-and-reserved-inventory-parameters/13413>\
**Category:** Ansible Project\
**Created:** [September 3, 2013, 7:12pm UTC](https://forum.ansible.com/t/inventory-script-jsan-output-and-reserved-inventory-parameters/13413 "2013-09-03T19:12:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephanie\_plasschaer](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@Stephanie\_plasschaer](https://forum.ansible.com/u/Stephanie_plasschaer)\
**Post date:** [September 3, 2013, 7:12pm UTC](https://forum.ansible.com/t/inventory-script-jsan-output-and-reserved-inventory-parameters/13413/1 "2013-09-03T19:12:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [September 3, 2013, 8:48pm UTC](https://forum.ansible.com/t/inventory-script-jsan-output-and-reserved-inventory-parameters/13413/2 "2013-09-03T20:48:27Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Stephanie\_plasschaer](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@Stephanie\_plasschaer](https://forum.ansible.com/u/Stephanie_plasschaer)\
**Post date:** [September 4, 2013, 6:56pm UTC](https://forum.ansible.com/t/inventory-script-jsan-output-and-reserved-inventory-parameters/13413/3 "2013-09-04T18:56:13Z")

</div>

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
