- Hello, I would like to use ansiblerunner instead of the python api to interface with ansible for a very specific task. But I want to script to be self contained so i hardcode the inventory and the playbook directly on the script. The code below is a simplified version. Usually the hosts are passed as arguments.
- Ansible RunnerĀ¶ Ansible Runner is a tool and python library that helps when interfacing with Ansible directly or as part of another system whether that be through a container image interface, as a standalone tool, or as a Python module that can be imported. The goal is to provide a stable and consistent interface abstraction to Ansible.
Released:
This API is intended for internal Ansible use. Ansible may make changes to this API at any time that could break backward compatibility with older versions of the API. Because of this, external use is not supported by Ansible. If you want to use Python API only for executing playbooks or modules, consider ansible-runner first.
simple ansible playbook runner
Project description
ansible-playbook-runner is a simple wrapper for ansible
Installation
Use the package manager pip to install ansible-playbook-runner.
Usage
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Release historyRelease notifications | RSS feed
0.1.2
0.1.1
0.1.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size ansible_playbook_runner-0.1.2-py3-none-any.whl (2.4 kB) | File type Wheel | Python version py3 | Upload date | Hashes |
Filename, size ansible-playbook-runner-0.1.2.tar.gz (1.9 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for ansible_playbook_runner-0.1.2-py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | 89a272579c0c9e300097a3ffa326a8788137386b3a8769404350d74c42bdafb2 |
MD5 | ff1bf728e7e0c9a10a1258e1979328bb |
BLAKE2-256 | 509e1ed470ddf5c8cbdd1794969cd0a0374e98ba95ca2b114cf1f02a028fd67e |
Hashes for ansible-playbook-runner-0.1.2.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | dd47d070c36128c503af32ab97b7a2cc4ed214206648628b78659e12a5eadc43 |
MD5 | 4d639c88ca6911e94fd677bf9d399949 |
BLAKE2-256 | 33ba6415d2eaab275228e234eeeb23af4fdee17fb7bf1afa4359a5bbff335f77 |
Released:
'Consistent Ansible Python API and CLI with container and process isolation runtime capabilities'
Project description
Ansible Runner is a tool and python library that helps when interfacing with Ansible directly or as part of another system whether that be through a container image interface, as a standalone tool, or as a Python module that can be imported. The goal is to provide a stable and consistent interface abstraction to Ansible.
For the latest documentation see: https://ansible-runner.readthedocs.io
- We use GitHub issues to track bug report and feature ideas...
- ... and GitHub Milestones to track what's for the next release
- Want to contribute, check out our guide
- Join us in the
#ansible-runner
channel on Libera.chat IRC - Join the discussion in awx-project
- For the full list of Ansible email Lists, IRC channels see the Ansible Mailing lists
Release historyRelease notifications | RSS feed
2.0.2
2.0.1
2.0.0
2.0.0.0rc3 pre-release
2.0.0.0rc2 pre-release
2.0.0.0rc1 pre-release
2.0.0.0b1 pre-release
2.0.0.0a5 pre-release
2.0.0a4 pre-release
2.0.0a3 pre-release
2.0.0a2 pre-release
2.0.0a1 pre-release
1.4.7
1.4.6
1.4.5
Ansible Runner Python Example
1.4.4
1.4.2
1.4.1
1.4.0
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.2
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size ansible_runner-2.0.2-py3-none-any.whl (77.9 kB) | File type Wheel | Python version py3 | Upload date | Hashes |
Filename, size ansible-runner-2.0.2.tar.gz (144.8 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for ansible_runner-2.0.2-py3-none-any.whl
Algorithm | Hash digest |
---|---|
SHA256 | a6e7d108b6445425a3086942816bb3b252efb253a1536cedb065391897c574fa |
MD5 | 12d81a13b5eabd96e233d4ca81b7016c |
BLAKE2-256 | c61b2ed2d3b76277402c49c93f95a1fe317fefde256ddf9d7504eeae440a78f9 |
Python Ansible Runner Free
CloseHashes for ansible-runner-2.0.2.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | c02b690803ec0be4453411c53743cd3fdca1dfc66dfa075794e14e717c5b61b3 |
MD5 | 8a26b02132848b765f785ff56e90e49d |
BLAKE2-256 | d7e21ece0627d214cd8c47fc28a0d64ada7be71cd8e614a76492b1aa1fafbe8a |