Host vars, group vars, Inventory vars?

I know you can specify group ‘foo’ and then declare variables for everything with [foo:vars]. Is there any way to apply variables to every host in the inventory? I was thinking:

[*:vars] would work but it does not appear to.

​That would be via the default 'all' group​:

[

​all​
:vars] would work but it does not appear to.

​though I would recommend you to not put variables in the ini file, and use
the host/group_vars construct.​

Agreed, I’d use group_vars/all.

Thanks.

[all:vars] works great.