Skip to main content

A pragmatic interface to programmatically use Ansible.

Project description

subspace 0.1

A pragmatic interface to programmatically use Ansible.

To install use:
pip install subspace
pip install git+git://git@github.com:iPlantCollaborativeOpenSource/subspace.git

----

subspace
========

A pragmatic interface to programmatically use Ansible.

```python
import subspace
import logging
my_limits = [{"hostname": "vm3-4", "ip": "1.2.3.4"},
{"hostname": "vm3-5", "ip": "1.2.3.5"}]
logger = logging.getlogger("subspace")
subspace.use_logger(logger)
subspace.constants("HOST_KEY_CHECKING", False)
subspace.constants("DEFAULT_ROLES_PATH", "/opt/dev/atmosphere/service/ansible/roles")
playbook_file = "/opt/dev/atmosphere/service/ansible/playbooks/test_integration.yml"
pb = subspace.PlayBook.factory(playbook_file,
host_list="/opt/dev/atmosphere/service/ansible/hosts",
limit=my_limits)
```

To follow Ansible's naming, we're named after [Star Trek's subspace technology](http://en.wikipedia.org/wiki/Technology_in_Star_Trek#Subspace).


----

For more information, please see: https://github.com/iPlantCollaborativeOpenSource/subspace

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.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

subspace-0.1-py2-none-any.whl (6.8 kB view details)

Uploaded Python 2

File details

Details for the file subspace-0.1.tar.gz.

File metadata

  • Download URL: subspace-0.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for subspace-0.1.tar.gz
Algorithm Hash digest
SHA256 1b495b7837f8ee5570fd5e315ad4126c846ceb5601c34d3990e9a6580d5f4969
MD5 7f15b2f5f69421c05d498d7226a4d57a
BLAKE2b-256 2d026697bec215975460acd5e23d5791c0e89f22a5c48fd09aca701ba8b5fa91

See more details on using hashes here.

File details

Details for the file subspace-0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for subspace-0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 73c9731414d1aa9b8708c666c345938afcf90bd97543a0093ee016429d43a15e
MD5 5bb60d4e76f3779e42ebe8bd7cbc769e
BLAKE2b-256 09f48af67145d3dc95c769c170fb28f350315383ec10e091a02f3435799ea11e

See more details on using hashes here.

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