Dynamic inventory scripts only accept 2 arguments that ansible will
actively attempt to call:  --host and --list.

To provide additional configuration, your inventory script could have a
config file, or utilize ENV vars as suggested in the other posts you have
read.

On Thu, May 14, 2015 at 1:30 PM, Ritesh Shetty <[email protected]>
wrote:

> Hello !
> I have read through some forum posts that i could use env variables but i
> really do not want to do so. So wanted to know if ansible dynamic inventory
> can accept a variable
>
>
> Ritesh
>
> --
> 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 post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/1c91803b-dade-471f-88e0-c0f9a1163030%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/1c91803b-dade-471f-88e0-c0f9a1163030%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Matt Martz
@sivel
sivel.net

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAD8N0v8W%2B9iwF_G4RXsbGJ%3DrhkaZFwZvpa3NMns29D5RrQrXag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to