You don't.  As of now, the recommended way to provide configuration to an
inventory script is either via configuration file, or via environment
variables.

As of now, there is no way to pass arguments directly to a dynamic
inventory script.

On Thu, Sep 8, 2016 at 1:59 AM, 'Nirav Radia' via Ansible Project <
[email protected]> wrote:

> @esco real : The question remains the same. How to pass a command line
> argument to that wrapper script then?
>
> On Tuesday, 27 October 2015 22:43:06 UTC+5:30, esco real wrote:
>>
>> You could use some wrapper script(s) as inventory source for that..
>>
> --
> 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/80481788-6952-4cb8-90be-459b6d629b9e%40googlegroups.
> com
> <https://groups.google.com/d/msgid/ansible-project/80481788-6952-4cb8-90be-459b6d629b9e%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/CAD8N0v-OUYRuZvx%3DC2b0fghq-CCAX6dOdb3egfZ8JUzndBbaSA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to