Skip to main content

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 Definition
  • regenerate_artifact: re-generates an Artifact for a Nornir Host
  • get_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)

Uploaded Source

Built Distribution

nornir_infrahub-0.3.0-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page