Giter VIP home page Giter VIP logo

Comments (8)

nickjj avatar nickjj commented on July 24, 2024

You mentioned "one of the servers". Did it work on others?

Did you apt install python3 before using this role? That would be a standard thing to do on any server before using Ansible.

I've set up a few Ubuntu 22.04 servers on different hosts (including the stock ISO) with this role recently and everything worked.

from ansible-docker.

klodoma avatar klodoma commented on July 24, 2024

Yes, I have 2 servers for this use-case. On one is working on the other I get this error.
Not sure where to start with the debugging :)

python3 is installed.

from ansible-docker.

nickjj avatar nickjj commented on July 24, 2024

Did you upgrade one from Ubuntu 20.04 to 22.04 where as the other is freshly 22.04?

from ansible-docker.

klodoma avatar klodoma commented on July 24, 2024

Did you upgrade one from Ubuntu 20.04 to 22.04 where as the other is freshly 22.04?

Both are new installations, no upgrades.

One is a plain ubuntu installations(on this one worked).
The other(this one failed) came with PLESK admin interface which already installs quite some stuff on it so that might interfere a bit. Why it fails, beats me at this moment.

from ansible-docker.

nickjj avatar nickjj commented on July 24, 2024

I never used PLESK but it might be worth checking into their docs or Google on why it would make pip3 unavailable. Did you set your Ansible Python interpreter to python3, that would be necessary if your system has both Python 2 and Python 3 installed.

from ansible-docker.

klodoma avatar klodoma commented on July 24, 2024

pip3 is present.

Maybe this screenshot helps?

image

from ansible-docker.

nickjj avatar nickjj commented on July 24, 2024

pip3 is present.

It's not a matter of being present or not. Did you set your Ansible Python interpreter with this ansible.cfg modification?

[defaults]
ansible_python_interpreter = /usr/bin/python3

from ansible-docker.

klodoma avatar klodoma commented on July 24, 2024

I'll give up on this. These are test setups, maybe on the one that fails too much was changed already. I'll reinstall everything and see how that goes.
Closing this for the moment.

from ansible-docker.

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.