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.2.2.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for nornir_infrahub-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3313f01b61ae28a6172475fbe84a44ec37f9edbd56ccaf39facd894666af5aff |
|
MD5 | 6907d823b6ac9ac008b5e1834a7cd64d |
|
BLAKE2b-256 | 932cad3c2b90d7d41dce26b8011b7e37cd5edb1262c6f387bab18075e8c7964d |