Git Product home page Git Product logo

Comments (3)

btmc avatar btmc commented on July 18, 2024 2

Thank you for the clarification!

Re-reading the documentation I understand it correctly describes what is happening:

Detects the target OS platform, distribution, and version, then consults a table listing the correct Python interpreter and path for each platform/distribution/version. If an entry is found, uses the discovered interpreter. If no entry is found, or the listed Python is not present on the target host, searches a list of common Python interpreter paths and uses the first one found; also issues a warning that future installation of another Python interpreter could alter the one chosen.

But using the default value auto for INTERPRETER_PYTHON now boils down to "use the first option available (if any) and produce a warning anyway", and there is no notion of "correct" interpreter per platform/distribution/version anymore, the interpreter should be set explicitly or auto_silent option value used.

Maybe the page should be updated to state that more clearly?

from ansible.

ansibot avatar ansibot commented on July 18, 2024

Files identified in the description:

None

If these files are incorrect, please update the component name section of the description or use the component bot command.

from ansible.

nitzmahone avatar nitzmahone commented on July 18, 2024

This is working as-designed- you can silence the warning, but it's telling you that your current config is somewhat unstable and that a new version of Ansible or installation of another Python on the target might break things. See https://docs.ansible.com/ansible/latest/reference_appendices/interpreter_discovery.html for more details.

from ansible.

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.