[ansible-project] Ansible + weaved = ?

2016-07-22 Thread Jørgen Høyer
I have a couple of RPi connected to my weaved account and would like to orchestrate them with Ansible. I copied ssh-keys to both of them, and created a hosts file in /etc/ansible/hosts (for those who know ansible). The problem is when i try to ping the RPi collectively it seems i can only pi

Re: [ansible-project] Error when trying to ping nodes through Ansible

2016-07-13 Thread Jørgen Høyer
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

Re: [ansible-project] Error when trying to ping nodes through Ansible

2016-07-13 Thread Jørgen Høyer
; 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. > >

Re: [ansible-project] Error when trying to ping nodes through Ansible

2016-07-13 Thread Jørgen Høyer
; [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 > >

Re: [ansible-project] Error when trying to ping nodes through Ansible

2016-07-13 Thread Jørgen Høyer
My file looks like this: [nodes] pi@192.168.137.146 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 t

[ansible-project] Re: Error when trying to ping nodes through Ansible

2016-07-13 Thread Jørgen Høyer
One last thing:) if i run ansible - i get at the end of the output: ERROR! Missing target hosts -- 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 ansible-

[ansible-project] Re: Error when trying to ping nodes through Ansible

2016-07-13 Thread Jørgen Høyer
": "SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh", "unreachable": true } onsdag 13. juli 2016 10.52.36 UTC+2 skrev Jørgen Høyer følgende: > > My project is to set up a sensor network of several nodes. I want

[ansible-project] Error when trying to ping nodes through Ansible

2016-07-13 Thread Jørgen Høyer
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@###.

[ansible-project] Cant ping nodes via ssh

2016-07-12 Thread Jørgen Høyer
I'm trying to set upp ansible for a project with multiple Raspberry Pi's. I created sshkey's and copied them to my test node. I also made a host list. When i try to ping (ansible all -m ping) the node i keep getting the same errormsg: SSH Error: data could not be sent to the remote host. Make