Python Ansible Runner

Latest version
  1. 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.
  2. 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

Run

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

Ansible python api example

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ansible-playbook-runner, version 0.1.2
Filename, sizeFile typePython versionUpload dateHashes
Filename, size ansible_playbook_runner-0.1.2-py3-none-any.whl (2.4 kB) File type Wheel Python version py3 Upload dateHashes
Filename, size ansible-playbook-runner-0.1.2.tar.gz (1.9 kB) File type Source Python version None Upload dateHashes
Close

Hashes for ansible_playbook_runner-0.1.2-py3-none-any.whl

Hashes for ansible_playbook_runner-0.1.2-py3-none-any.whl
AlgorithmHash digest
SHA25689a272579c0c9e300097a3ffa326a8788137386b3a8769404350d74c42bdafb2
MD5ff1bf728e7e0c9a10a1258e1979328bb
BLAKE2-256509e1ed470ddf5c8cbdd1794969cd0a0374e98ba95ca2b114cf1f02a028fd67e
Close

Hashes for ansible-playbook-runner-0.1.2.tar.gz

Hashes for ansible-playbook-runner-0.1.2.tar.gz
AlgorithmHash digest
SHA256dd47d070c36128c503af32ab97b7a2cc4ed214206648628b78659e12a5eadc43
MD54d639c88ca6911e94fd677bf9d399949
BLAKE2-25633ba6415d2eaab275228e234eeeb23af4fdee17fb7bf1afa4359a5bbff335f77
Latest version

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

Call ansible playbook from python

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

Online

1.3.3

1.3.2

1.3.1

Python ansible runner example

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.

Files for ansible-runner, version 2.0.2
Filename, sizeFile typePython versionUpload dateHashes
Filename, size ansible_runner-2.0.2-py3-none-any.whl (77.9 kB) File type Wheel Python version py3 Upload dateHashes
Filename, size ansible-runner-2.0.2.tar.gz (144.8 kB) File type Source Python version None Upload dateHashes
Close

Hashes for ansible_runner-2.0.2-py3-none-any.whl

Hashes for ansible_runner-2.0.2-py3-none-any.whl
AlgorithmHash digest
SHA256a6e7d108b6445425a3086942816bb3b252efb253a1536cedb065391897c574fa
MD512d81a13b5eabd96e233d4ca81b7016c
BLAKE2-256c61b2ed2d3b76277402c49c93f95a1fe317fefde256ddf9d7504eeae440a78f9

Python Ansible Runner Free

Close

Hashes for ansible-runner-2.0.2.tar.gz

Hashes for ansible-runner-2.0.2.tar.gz
AlgorithmHash digest
SHA256c02b690803ec0be4453411c53743cd3fdca1dfc66dfa075794e14e717c5b61b3
MD58a26b02132848b765f785ff56e90e49d
BLAKE2-256d7e21ece0627d214cd8c47fc28a0d64ada7be71cd8e614a76492b1aa1fafbe8a