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