Code Monkey home page Code Monkey logo

ansible-collections's People

Contributors

nifr avatar

Watchers

 avatar  avatar

ansible-collections's Issues

pipx --suffix [..] installation doesn't work with ansible commands

In order to test ansible collections against multiple combinations of python and ansible versions the use of pipx's --suffix parameter is very tempting.

The resulting binary shims can be named similar to homebrew's co-installable versioned packages (i.e. helm and helm@2).

Similar to tox in a CI environment their usage opens up the possibility to test different version combinations quickly in a local environment.

Altering the behaviour of binaries depending on their name is definitely an anti-pattern. I've personally experienced this with old versions of hashicorp's packer in a Debian environment before.

... to be investigated.

Example

pipx install
  --suffix '@2.10-python3.7' \
  --python python3.7 \
  --include-deps \
  --force \
  'ansible >= 2.10.0, == 2.10.*, < 2.11'

[email protected] --version

Output:

ERROR! Unknown Ansible alias: [email protected]

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.