Thank you so much, that worked! What's that atachment? onsdag 13. juli 2016 11.35.06 UTC+2 skrev Werner Flamme følgende: > > 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 "[email protected] <javascript:>" is senseless. > > HTH, > Werner > > > Jørgen Høyer [13.07.2016 11:29]: > > My file looks like this: > > > > [nodes] > > [email protected] <javascript:> > > > > Only two lines. It's called hosts. > > Is that not the right way to create an inventory? > > > > onsdag 13. juli 2016 11.11.21 UTC+2 skrev Kai Stian Olstad følgende: > >> > >> On 13.07.2016 10:52, Jørgen Høyer wrote: > >>> My project is to set up a sensor network of several nodes. I want to > >>> use > >>> Ansible to configure all nodes through ssh, so I downloaded ansible > >>> with > >>> pip and generated a ssh keypair. I then copied the key from the master > >>> to > >>> the node I am testing on. I also edited the host file with: > >>> > >>> [node] > >>> > >>> pi@###.###.###.### > >>> > >> > >> Your inventory file(that you call host file) is wrong. > >> I suggest you read this > >> https://docs.ansible.com/ansible/intro_inventory.html > >> > >> -- > >> Kai Stian Olstad > >> > > > > > -- > > >
-- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/35cf7653-7acb-4da2-9acc-4546f44fbab3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
