ansible-api v0.5.1
A restful http api for ansible python version >= 3.7
What is it?
Ansible is a radically simple IT automation system. If you are trying to use it and not like CLI, you can try me now. I can provide you use ansible by A RESTful HTTP Api and a realtime processing message (websocket api), you can see all details.
Changelog
- 0.5.1
- add sha256 encryption support for signature (thx: jbackman)
- fit for latest ansible(v2.8.6) and ansible-runner(v1.4.2)
- add more error event capture in response
- 0.5.0 replace tornado with sanic, more lightly (python>=3.7)
- 0.3.0 using ansible-runner as middleware
- 0.2.6 adaptive ansible 2.6.4 and add asynchronization mode
- 0.2.2 optimize log
- 0.2.1 optimize log and allow mutil-instance in the same host
- 0.2.0 support websocket, remove code invaded in ansible
Structure chart
How to install
- [preparatory work] python version >= 3.7 (use asyncio featrue)
pip3 install ansible-api
How to start it
- default configuration: /etc/ansible/api.cfg
- start:
ansible-api -c [Configfile, Optional] -d [Daemon Mode, Optional]
eg: ansible-api -c /etc/ansible/api.cfg -d > /dev/null &
How to prepare your data
Metadata
Release files for ansible-api 0.5.1
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-api-0.5.1.tar.gz | 24.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ansible_api-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.7 kB
Release files / ansible-api-0.5.1.tar.gz
| Download URL | ansible-api-0.5.1.tar.gz |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8869861fe6649226d9436d36c004c75540645895b7a02b750e03931a3b41ecae
|
|
BLAKE2b-256 checksum How to use checksums |
9115e8372c6cf1f06d1166377c01dd67c9a847b86f82a01df11246101c5cd6bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
|
Release files / ansible_api-0.5.1-py3-none-any.whl
| Download URL | ansible_api-0.5.1-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd346dedbb434cb4c9960f5a07e07f655aca69f10536b800e7eda74c945bcee1
|
|
BLAKE2b-256 checksum How to use checksums |
424e07706abebc45dabd719b77440d62740a475817ba769d7c799314b0b3f535
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
|