nifr / ansible-collections Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://nifr.github.io/ansible-collections/
License: MIT License
Home Page: https://nifr.github.io/ansible-collections/
License: MIT License
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.
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]
git clone [email protected]:nifr/ansible-collections.git ansible_collections
cd ansible_collections/nifr/inventory_scripts/
ansible-test --sanity -v
Output:
ERROR: The current working directory must be at or below:
an Ansible collection: {...}/ansible_collections/{namespace}/{collection}/
Current working directory: /[..]/ansible-collections/nifr/inventory_scripts
git clone [email protected]:nifr/ansible-collections.git
cd ansible-collections/nifr/inventory_scripts/
ansible-test --sanity --docker default -v
Output:
WARNING: Skipping sanity test 'yamllint' due to missing libyaml support in PyYAML.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.