Hi everyone,

I wanted to try this for a while, so after another thread was started 
regarding how to install OpenWISP on a raspberry pi2 
<https://groups.google.com/d/msg/openwisp/411bj3RUwbE/RHpPjE0iCAAJ>, I 
decided to finally give it a try.

I have just installed successfully OpenWISP 2 on a raspberry pi 3 which is 
flashed with raspbian jessie without any issue. Since raspbian is based on 
debian, I assumed it would work straightaway and I'm glad I have found out 
I was right.

The procedure is the same as the documented one 
<https://github.com/openwisp/ansible-openwisp2#usage-tutorial>, but I will 
describe it here anyway to help those who'll find this post.

Create an inventory file called "hosts" with the following contents:

[pi]
<IP-ADDRESS-HERE>


Replace <IP-ADDRESS-HERE> with your raspberry pi's IP address or even 
better a hostname if you have set up a DNS record that points to your pi.

Now create a file playbook.yml with the following contents:

- hosts:
    - pi
  become: true
  roles:
    - openwisp2
  vars:
    openwisp2_shared_secret: <ANY-VALUE-OF-YOUR-LIKING-HERE>


Replace <ANY-VALUE-OF-YOUR-LIKING-HERE> with a password/secret you want to 
use.

ansible-playbook -i hosts -l pi -u pi --ask-pass --ask-sudo-pass playbook.
yml

The process was a bit slow during the first steps of installing the 
dependencies, but after that everything ran quickly as usual

 The web UI of OpenWISP 2 runs smoothly but apart from a few simple test I 
did not perform any stress test.

I hope it will be useful.
Federico

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to