Thanks Brain for your reply.
We are not planning to have the yaml or json file under host_vars
directory. Instead we are passing as arguments in the command line.
Could you please share me some examples or documentation to pass host
variables.
On Friday, February 26, 2016 at 12:32:10 AM UTC+5:
We have an requirement to pass the host variables defined in a file under
host_vars directory as an argument to the ansible playbook. So we have
planned to use *--extra-vars *option to pass additional variables as key
value pair. But we couldn't able to pass the host variables as argument and
I