The ansible role was designed mainly to deploy OpenWISP Controller and
other optional modules that are aimed at network management and
visualization.
At a later stage we added the RADIUS module, but the Controller module is
still the default module installed.

In this case, you could add some custom python settings at the end of
settings.py that remove the modules you don't want from INSTALLED_APPS,
e.g.:

INSTALLED_APPS.remove('openwisp_controller')
INSTALLED_APPS.remove('openwisp_ipam')

If you want to continue handling the playbook with ansible you can use the
"openwisp2_extra_django_settings_instructions" variable to add these
settings.
But before doing it with ansible I would try this manually, eg:

cd /opt/openwisp2
source env/bin/activate
vim openwisp2/settings.py
# add the custom instructions, save and exit
# now try to launch the django shell to see if any error comes up
./manage.py shell_plus

If an exception is raised, you may need to adjust some more settings.

I hope this helps.
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 openwisp+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAAGgX6K%3D0OKdU4N0xNZH7y9ZXb1YRfuZr8%2BiJ2Qg1a%3D_5QQLYA%40mail.gmail.com.

Reply via email to