Hi Andrei,

that playbook configuration is not correct, please read the comments in the
README regarding what each of that variable does:
https://github.com/openwisp/ansible-openwisp2#role-variables

    # you may replace the values of these variables with any URL
    # supported by pip (the python package installer)
    # use these to install forks, branches or development versions
    # WARNING: only do this if you know what you are doing; disruption
    # of service is very likely to occur during development
    openwisp2_controller_pip: false
    openwisp2_users_pip: false
    openwisp2_django_netjsonconfig_pip: false
    openwisp2_django_x509_pip: false
    openwisp2_netjsonconfig_pip: false
    openwisp2_network_topology_pip: false
    openwisp2_django_netjsongraph_pip: false


This means that the expected value is either a URL which can be accepted by
pip (eg: "openwisp2_controller_pip:
https://github.com/openwisp/openwisp-controller/tarball/master";) or a falsy
value like false or null, which simply disabled the feature.

When mentioning a radius server, do you mean simply installing freeradius
or do you mean enabling the radius module of OpenWISP 2?

Keep in mind that the radius modules of OpenWISP (django-freeradius
<https://github.com/openwisp/django-freeradius> and openwisp-radius
<https://github.com/openwisp/openwisp-radius>) are not released yet and not
included in the default installation performed via the ansible-openwisp2
role.
This doesn't mean you cannot use the radius module, it just mean that
there's some work you have to do to make it work.

Best regards
Federico

On Wed, Feb 13, 2019 at 7:29 PM andreil1 <[email protected]> wrote:

> Hi !
>
> 1) I have just installed OpenWISP on Ubuntu 18.04LTS, and now trying to
> add Radius server.
> Is it possible to do it with Ansible playbook like this:
>
> - hosts: openwisp2
>   roles:
>     - openwisp.openwisp2
>   vars:
>     openwisp2_default_from_email: "[email protected]"
>     openwisp2_python: python3
>     openwisp2_network_topology: true
>     # openwisp2_controller_pip: true
>     openwisp2_users_pip: true
>     openwisp2_django_netjsonconfig_pip: true
>     openwisp2_django_x509_pip: true
>     openwisp2_netjsonconfig_pip: true
>     # openwisp2_network_topology_pip: true
>     openwisp2_django_netjsongraph_pip: true
>     openwisp2_time_zone: GMT+2
>
>
> Running this playbook results in this error:
>
> TASK [openwisp.openwisp2 : Install custom OpenWISP 2 Python packages]
> *************************************************************
> failed: [openwisp2.starlett.lv] (item=True) => {"changed": false, "cmd": [
> "/opt/openwisp2/env/bin/pip3", "install", "-U", "True"], "item": true,
> "msg": "stdout: Collecting True\n\n:stderr:   Could not find a version
> that satisfies the requirement True (from versions: )\nNo matching
> distribution found for True\n"}
>
>
> There seem to be 2 conflicting variables - openwisp2_network_topology and 
> openwisp2_network_topology_pip,
> does it mean 2nd installed via pip instead of apt? Which one should I use ?
>
> 2) Selecting locations in "Devices" (and other sections) doesn't seem to
> work,
> Location selection -> Existing -> Select Item
> opens a new window with list of locations, unfortunately, clicking on it
> results in nothing - master page not updated.
> Tried on mac and Linux, with Firefox and Chrome, same effect.
>
> 3) First attempt was to install OpenWISP on Debian Stretch 9.7.
> Unfortunately, Python package python-meld3 is not install-able at all,
> seems like broken.
>
>
> Thanks in advance for any help.
> Andrei
>
> --
> 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 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