ansible-playbook connection unreachable

27 views
Skip to first unread message

ANSHUL DUTT SHARMA

unread,
Dec 22, 2019, 3:54:34 AM12/22/19
to OpenWISP
Hi I was trying to set up the development version of ansible-openwisp2. After installing ansible and setting up hosts and playbook.yml file, running ansible-playbook shows connection unreachable, failed to connect to host via ssh. Can anyone help me how to go around with this issue?

Federico Capoano

unread,
Dec 22, 2019, 4:01:53 AM12/22/19
to OpenWISP
Hey ANSHUL,

can you share your host and playbook files?

Federico

On Sun, Dec 22, 2019 at 9:54 AM ANSHUL DUTT SHARMA <anshul...@gmail.com> wrote:
Hi I was trying to set up the development version of ansible-openwisp2. After installing ansible and setting up hosts and playbook.yml file, running ansible-playbook shows connection unreachable, failed to connect to host via ssh. Can anyone help me how to go around with this issue?

--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/b4d1e1e7-3e02-435f-8e65-d98800c00afe%40googlegroups.com.

ANSHUL DUTT SHARMA

unread,
Dec 22, 2019, 6:33:09 AM12/22/19
to OpenWISP


On Sunday, December 22, 2019 at 2:31:53 PM UTC+5:30, Federico Capoano wrote:
Hey ANSHUL,

can you share your host and playbook files?

Federico

On Sun, Dec 22, 2019 at 9:54 AM ANSHUL DUTT SHARMA <anshul...@gmail.com> wrote:
Hi I was trying to set up the development version of ansible-openwisp2. After installing ansible and setting up hosts and playbook.yml file, running ansible-playbook shows connection unreachable, failed to connect to host via ssh. Can anyone help me how to go around with this issue?

--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open...@googlegroups.com.
hosts
playbook.yml

Federico Capoano

unread,
Dec 23, 2019, 4:24:59 AM12/23/19
to OpenWISP
This is wrong:

[openwisp2]
127.0.0.1:8000

In place of 127.0.0.1:8000 you should put the ip address of the VM where you want to install OpenWISP.

If you're installing for testing, try this: https://github.com/openwisp/vagrant-openwisp2

Federico

To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/fb6ac7f4-9383-41d9-9e34-bc9fcc1ef684%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages