Nornir plugin for Infrahub
Project description
Nornir plugin for Infrahub
Installation
pip install nornir_infrahub
Infrahub as the Nornir inventory
Infrahub can be used as an inventory source for Nonir. An example of this can be found in ./examples/nornir_inventory.py
Infrahub Artifact Tasks
A set of tasks are provided to operate on Infrahub Artifacts.
generate_artifacts
: generates the Artifacts for a Artifact Definitionregenerate_artifact
: re-generates an Artifact for a Nornir Hostget_artifact
: retrieve an Artifact for a Nornir Host
An example of this can be found in ./examples/nornir_tasks.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nornir_infrahub-0.3.0.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for nornir_infrahub-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2787b76bf7c359344986074b11ca436225a77f4e6de342b49b1ea68c124fa90 |
|
MD5 | f8765466b6aeac703fa4980ad1ced32d |
|
BLAKE2b-256 | b1c3d55c444463298b8fde4c6d114ab7569943fb8cb61c920fe181bcdf11d9a4 |