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 files for ansible_importer 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ansible_importer-0.0.2.tar.gz | 3.4 kB | Details |
Release files / ansible_importer-0.0.2.tar.gz
| Download URL | ansible_importer-0.0.2.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d97cf388e5d058978ea5af958b954ed74585f8abfde5067cccdc280d9157dff7
|
|
BLAKE2b-256 checksum How to use checksums |
8708740465cc823e3de030f889615ab98a2cc80b212dc530c2581b3eaf132099
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |