Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Small library to allow Ansible plugins/modules to be imported.

Project Description

ansible_importer

Ansible modules and plugins are typically pure Python, but often lack the structure necessary to import as Python code. This package is meant to allow programmers to import module code for testing purposes.

Usage

..code-block:: python

import ansible_importer ansible_importer.install(‘/abs/path/to/ansible/code’)

# Assuming above path has a playbooks/plugins/actions/my_plugin.py module from playbooks.plugins.actions.my_plugin import ActionModule

# Assuming playbooks/library/glance from playbooks.library.glance import ManageGlance

# Assuming playbooks/inventory/dynamic_inventory.py from playbooks.inventory import dynamic_inventory

Release History

Release History

This version
History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ansible_importer-0.0.2.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Jan 26, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting