Skip to main content

Ansible inventory connector for pyinfra 3.x

Project description

pyinfra-ansible-inventory-connector

pyinfra-ansible-inventory-connector lets you use your Ansible inventories with pyinfra 3.x.

Instead of building a parser for Ansible inventories as was tried in pyinfra pre 3.x, this connector just uses the Ansible Python API to do the heavy lifting.

Build and install

pip install .

Usage

pyinfra @ansible/path/to/inventory deploy.py # relative path
pyinfra @ansible//path/to/inventory deploy.py # absolute path

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

pyinfra_ansible_inventory_connector-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file pyinfra_ansible_inventory_connector-0.1.0.tar.gz.

File metadata

File hashes

Hashes for pyinfra_ansible_inventory_connector-0.1.0.tar.gz
Algorithm Hash digest
SHA256 05ce466886e097f3ad2e460b31f6551f54e6ac84f0ad1e8047243e895ac68383
MD5 31c2a134a28e1d943dff3a1d403c25de
BLAKE2b-256 33f2d77768cd2cf8a8baf8afea7012c742e1912509e3906f6c68a3eced167bbd

See more details on using hashes here.

File details

Details for the file pyinfra_ansible_inventory_connector-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyinfra_ansible_inventory_connector-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 532bad2a06f1d9ff056f82a86598a2e8e2a7cd33aaa1cc23057d19f0910d2885
MD5 f69ece2727f65bd6eee3d05063a39275
BLAKE2b-256 583540cc7bf8629e12340329531eca7d98521f368c3a853636d1c8269a0b7cb0

See more details on using hashes here.

Supported by

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