Nornir plugin for Infrahub
Project description
Nornir plugin for Infrahub
Infrahub by OpsMill acts as a central hub to manage the data, templates and playbooks that powers your infrastructure. At its heart, Infrahub is built on 3 fundamental pillars:
- A Flexible Schema: A model of the infrastructure and the relation between the objects in the model, that's easily extensible.
- Version Control: Natively integrated into the graph database which opens up some new capabilities like branching, diffing, and merging data directly in the database.
- Unified Storage: By combining a graph database and git, Infrahub stores data and code needed to manage the infrastructure.
Introduction
A Nornir plugin for Infrahub. Infrahub can be used as an inventory source for Nornir.
Installation
pip install nornir_infrahub
Usage
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
Release history Release notifications | RSS feed
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.4.0.tar.gz
(9.4 kB
view details)
Built Distribution
File details
Details for the file nornir_infrahub-0.4.0.tar.gz
.
File metadata
- Download URL: nornir_infrahub-0.4.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bd5f2d8052a75a1dbc355f713d779442029fea5dfb0eef094ebd8489425929d |
|
MD5 | 05438d47ee9a26eb588cc1ead8596586 |
|
BLAKE2b-256 | baf765e01c96861fc4e21a2f6364c4d7b96e4f0d46ef4a05bdaefe70d88ab301 |
File details
Details for the file nornir_infrahub-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: nornir_infrahub-0.4.0-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99febc2e53861a5c0482bd33d9b8c1ad4a40a6cab32e8cb8e14457585d5f6241 |
|
MD5 | 11dda3f220d4b99ec214265064b8f575 |
|
BLAKE2b-256 | 6476841c74df4e7cb4ce2698442f7f5b30a7ab3d2207cb8161ff9e42b8784e9d |