Giter Site home page Giter Site logo

Comments (5)

R9295 avatar R9295 commented on July 20, 2024

I'll be working on this issue

from ansible-openwisp2.

R9295 avatar R9295 commented on July 20, 2024

What could be a good default value? "[email protected]"?

from ansible-openwisp2.

nemesifier avatar nemesifier commented on July 20, 2024

something like openwisp2@{{ inventory_hostname }}, but I don't know what would happen in case {{ inventory_hostname }} would be an ip address.

We should add this new variable to the list of available variables but I think we should also highly suggest to set it manually in the playbook by updating our examples in the README to mention this.

Why we need to do this? Because as soon as people start using openwisp2 in a production environment, the system will try to send emails when new users are created or a password is reset, but if not configured correctly either the email won't be sent or the system may crash entirely so we gradually have to fix each case until we have good defaults that work in most cases without too much user intervention.

from ansible-openwisp2.

R9295 avatar R9295 commented on July 20, 2024

What could be a good way to explain it in the README? I'm thinking something along these lines:
"It is recommended that you change the value of this variable if you intend to use OpenWISP2 in production, as a misconfiguration may result in emails not being sent "

from ansible-openwisp2.

nemesifier avatar nemesifier commented on July 20, 2024

Yes that's fine, I think I also replied via chat so you should be ready to go, we'll improve during the review also so don't worry.

from ansible-openwisp2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.