GithubHelp home page GithubHelp logo

Comments (2)

amrox avatar amrox commented on July 19, 2024 1

I'm actually not too familiar with ansible, but this seems to due to the fact that both plugins define the ansible shim. It seems like this problem has been addressed in asdf itself so I'll take a look to see what we can do in this plugin.

In the meantime, you might want to try asdf-direnv. It allows you to bypass shims entirely. I tested it out in my setup and I was able to get ansible-base and ansible-core installed side by side without needing to reshim.

from asdf-pyapp.

okamos avatar okamos commented on July 19, 2024 1

@amrox Awesome!!
asdf-direnv works completely for me.

okamoto_shinichi[aws-oisixradaichi-infra] asdf direnv shell ansible-base 2.10.17
direnv: using asdf ansible-base 2.10.17
okamoto_shinichi[aws-oisixradaichi-infra] ansible --version
ansible 2.10.17
  config file = None
  configured module search path = ['/Users/okamoto_shinichi/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/okamoto_shinichi/.asdf/installs/ansible-base/2.10.17/venv/lib/python3.10/site-packages/ansible
  executable location = /Users/okamoto_shinichi/.asdf/installs/ansible-base/2.10.17/bin/ansible
  python version = 3.10.1 (main, Dec 23 2021, 17:57:48) [Clang 13.0.0 (clang-1300.0.27.3)]
okamoto_shinichi[aws-oisixradaichi-infra] asdf direnv shell ansible-core 2.12.4
direnv: using asdf ansible-core 2.12.4
okamoto_shinichi[aws-oisixradaichi-infra] ansible --version
ansible [core 2.12.4]
  config file = None
  configured module search path = ['/Users/okamoto_shinichi/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/okamoto_shinichi/.asdf/installs/ansible-core/2.12.4/venv/lib/python3.10/site-packages/ansible
  ansible collection location = /Users/okamoto_shinichi/.ansible/collections:/usr/share/ansible/collections
  executable location = /Users/okamoto_shinichi/.asdf/installs/ansible-core/2.12.4/bin/ansible
  python version = 3.10.1 (main, Dec 23 2021, 17:57:48) [Clang 13.0.0 (clang-1300.0.27.3)]
  jinja version = 3.1.1
  libyaml = True

from asdf-pyapp.

Related Issues (14)

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.