Skip to main content

A pragmatic interface to programmatically use Ansible.

Project description

subspace 0.2.1

A pragmatic interface to programmatically use Ansible.

To install use:
pip install subspace
pip install git+git://



A pragmatic interface to programmatically use [Ansible](

## Example

import subspace
import logging
my_limits = [{"hostname": "vm3-4", "ip": ""},
{"hostname": "vm3-5", "ip": ""}]
logger = logging.getlogger("subspace") # Use your own logger.
subspace.constants("HOST_KEY_CHECKING", False)
subspace.constants("DEFAULT_ROLES_PATH", "/opt/any/roles/path")
playbook_file = "/opt/any/ansible/playbooks/deploy.yml"
host_list_file = "/opt/any/ansible/hosts"
pb = subspace.PlayBook.factory(playbook_file,

To follow Ansible's naming, we're named after [Star Trek's subspace technology](


For more information, please see:

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

subspace-0.2.1.tar.gz (16.8 kB view hashes)

Uploaded source

Built Distribution

subspace-0.2.1-py2-none-any.whl (19.3 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page