Python Ansible Runner

Latest version

Released:

simple ansible playbook runner

Using Runner as a Python Module Interface to Ansible. Ansible Runner is intended to provide a directly importable and usable API for interfacing with Ansible itself and exposes a few helper interfaces. The modules center around the Runner object. The helper methods will either return an instance of this object which provides an interface to. I have imported ansible.runner into my python file. In this same directory is playbook1.yml. I basically want the equivalent in Python via Ansible Runner of running this at command line: ansible-playbook playbook1.yml -extra-vars 'foo=test' Any help or point to clear examples would be appreciated!

Project description

ansible-playbook-runner is a simple wrapper for ansible

Installation

Python ansible runner code

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

Runner

0.1.0

Download files

Python Ansible Runner Download

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

Ansible With Python

Close

Python Ansible Runner Online

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

Python Ansible_runner.run

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