Suitable is a thin wrapper around the Ansible API.
Project description
An Ansible API for humans.
Documentation
Warning
Suitable is not endorsed by Ansible and it is not affilated with it. Use at your own peril.
The official way to use Ansible from Python is documented here: http://docs.ansible.com/ansible/developing_api.html
Run Tests
pip install tox
tox
Build Status
Test Coverage
Latest Release
Changelog
0.9.0 (2017-09-19)
Adds support for Ansible 2.4. Since this release introduces many changes under the hood support for Ansible 2.3 has been dropped!
You might want to assume that this will stay this way. Older Ansible releases are supported if possible, but it’s not a goal of this project. [href]
Explicitly drops support for Python 3.0 - 3.4. Suitable supports the same Python versions Ansible supports, which excludes these 3.x releases.
Supported are therefore Python 2.7, 3.5 and 3.6+. [href]
0.8.1 (2017-08-10)
Adds support for Ansible’s extra_vars. [Liuyanglong]
0.8.0 (2017-06-02)
Adds support for Python 3.3+. Since Python 3 support in Ansible is experimental, only the latest Ansible (2.3+) is henceforth supported. [href]
0.7.4 (2017-01-27)
Fixes an issue with Ansible 2.1.4.0. Host lists are now passed to Ansible in a format it expects. [href]
0.7.3 (2016-03-08)
Gets password based ssh authentication working again. [href]
0.7.2 (2016-01-15)
Stops command and shell modules from chocking on certain commands. Workaround for https://github.com/ansible/ansible/issues/13862 [href]
0.7.1 (2016-01-15)
Removes global state lingering around with Ansible 2.0.0.2, which introduced a hosts cache leading to Suitable’s api instances to not be independent. [href]
0.7.0 (2016-01-13)
Adds support for Ansible 2.0. Does not support 1.x anymore!! [href]
0.6 (2015-06-22)
Adds backwards-compatible support for Ansible 1.9. The same code running on suitable for Ansible 1.8 should now work with Ansible 1.9. [href]
0.5 (2014-11-28)
Adds support for Ansible 1.8. [href]
Includes automated tests for Ansible versions 1.5 through 1.8. [href]
Properly escapes spaces in key-value pairs. Fixes #3. [href]
0.4 (2014-09-05)
Wraps the result of all module runs to provide easy access to results per server. [href]
Default to transport ‘localhost’ if ‘localhost’ or ‘127.0.0.1’ is used exclusively on the API object. [href]
0.3 (2014-05-28)
Adds a stern warning so users won’t confuse this with the official Ansible API. [href]
0.2 (2014-05-21)
Change license to GPL v3 as required by Ansible. [href]
0.1 (2014-05-21)
Initial release. [href]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file suitable-0.9.0.tar.gz
.
File metadata
- Download URL: suitable-0.9.0.tar.gz
- Upload date:
- Size: 24.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b243f5f9427ca1e149a809a6b9e1cf2920bc6a795a4def6b1a41d63f4eeb0a9c |
|
MD5 | b61686748536ff5699f47c291e57e9ce |
|
BLAKE2b-256 | 62896a6ef07e3144a8021dd9a94e79223088abd09862097598097ae18a5a6fcf |
File details
Details for the file suitable-0.9.0-py2.py3-none-any.whl
.
File metadata
- Download URL: suitable-0.9.0-py2.py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b89ad7bb1961c0304dd1845c65668216a476684c0fc89d898a52d1a17a41826 |
|
MD5 | ce83b55bd6bfcc072ca2bce6445bad8b |
|
BLAKE2b-256 | 91a3be70ed0d575ae132533f3eaa4a9323b1b4418ff058b0fdad917388003a79 |