Thanks Fredrico, I'll let you know how i go,
*Edward Um | Network Consultant* CCIE #43286 *Telephone * +612 8016 1117 *Mobile *+61 449 051 894 *Email *[email protected] This e-mail message (including attachments, if any) is intended for the use of the individual or the entity to whom it is addressed and may contain information that is privileged, proprietary, confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and delete this E-mail message immediately. On 24 November 2017 at 17:21, Federico Capoano <[email protected]> wrote: > Hi Edward, > > the ansible inventory is not to be confused with the system host file. > > Put the ansible files anywhere you like, eg: in your home directory. > > The procedure is documented step by step here: https://github.com/ > openwisp/ansible-openwisp2#usage-tutorial > > Federico > > > Il ven 24 nov 2017, 05:58 Edward Um <[email protected]> ha scritto: > >> Hi Fredrico, >> >> Could you clarify where I create a the "hosts" file? its confusing as >> there already is a hosts file in /etc >> >> Thanks, >> >> On Monday, 27 February 2017 12:24:51 UTC, Federico Capoano wrote: >>> >>> 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. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "OpenWISP" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/openwisp/NuKeugcSsU4/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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.
