Thank you for giving us more details, that's helpful and constructive because it gives us an opportunity to improve, I have opened an issue: https://github.com/openwisp/ansible-wireguard-openwisp/issues/27 .
The variable openwisp2_wireguard_flask_key is a string you decide on your own to protect the API endpoint from unauthorized users, and make sure to generate a strong key. A flask app will be deployed by the role, you don't have to do anything, just write an ansible playbook and run it, in a very similar fashion to how we do with ansible-openwisp2 (you can replicate similar steps) from here: https://github.com/openwisp/ansible-openwisp2#create-inventory-file . Leave openwisp2_wireguard_flask_host out and it will default on 0.0.0.0 (binds on all interfaces). If you have more questions for the SSL part, please read https://github.com/geerlingguy/ansible-role-certbot#readme and then elaborate your questions. 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]. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAAGgX6LPCD1O1kn86g464U3YtbP2bNMcerYy2O1sTf-XrCaYiA%40mail.gmail.com.
