accessing inventory path from playbook

Is there a way to get the path to the inventory from within a
playbook? Some special variable perhaps?

Thanks,

James

Not currently.

There is {{ inventory_dir }}

which gives you the basedir.

Should be a one line patch to provide {{ inventory_file }}

Awesome, thanks!