Did you even look at the page Kai sent the link to?
You can write something like
[nodes]
192.168.137.146 ansible_user=pi
but "
p...@192.168.137.146" is senseless.
HTH,
Werner
Jørgen Høyer [13.07.2016 11:29]:
> My file looks like this:
>
> [nodes]
>
p...@192.168.137.146
>
> Only two lines. It's called hosts.
> Is that not the right way to create an inventory?
--