Hi! Anyone know if it’s possible to access extra_vars from a plugin?
For example, let’s say I wanted to write an ec2 inventory plugin that could grab hosts for all regions, or as specified in an extra_vars variable . . .
Thanks a lot,
Guy
Hi! Anyone know if it’s possible to access extra_vars from a plugin?
For example, let’s say I wanted to write an ec2 inventory plugin that could grab hosts for all regions, or as specified in an extra_vars variable . . .
Thanks a lot,
Guy
Inventory scripts are different from say, lookup plugins and action plugins.
Inventory plugins get executed outside of variable processing and cannot get these things, but can read environment variables and the like.