Contents

ansible-runner 2.4.0

0

"Consistent Ansible Python API and CLI with container and process isolation runtime capabilities"

"Consistent Ansible Python API and CLI with container and process isolation runtime capabilities"

Stars: 960, Watchers: 960, Forks: 354, Open Issues: 112

The ansible/ansible-runner repo was created 6 years ago and the last code push was 2 weeks ago.
The project is popular with 960 github stars!

How to Install ansible-runner

You can install ansible-runner using pip

pip install ansible-runner

or add it to a project with poetry

poetry add ansible-runner

Package Details

Author
Ansible, Inc.
License
Apache Software License, Version 2.0
Homepage
https://ansible-runner.readthedocs.io
PyPi:
https://pypi.org/project/ansible-runner/
GitHub Repo:
https://github.com/ansible/ansible-runner

Classifiers

  • Software Development/Libraries/Python Modules
  • System/Systems Administration
  • Utilities
No  ansible-runner  pypi packages just yet.

Errors

A list of common ansible-runner errors.

Code Examples

Here are some ansible-runner code examples and snippets.

GitHub Issues

The ansible-runner package has 112 open issues on GitHub

  • Insufficient subprocess control and termination (SIGHUP)
  • Stop using distutils
  • Preserve timestamps when unstreaming dirs
  • DNM: Remove some zuul jobs now in GHA
  • Preserve modification times when streaming directories via process
  • DNM: test CI
  • Mount the stdout callback plugin for containerized runs
  • Fix bug with truncating newline
  • how to use in a python file with a JSON string for hosts
  • Inventory Specification without files impossible?
  • Cannot specify container work dir when running ansible-runner via cmdline
  • Option to avoid writing ssh_key to the env folder
  • inventory file dumped to disk is read only.
  • Support custom stdout callbacks
  • ansible-runner should not set --workdir for ad hoc commands

See more issues on GitHub

Related Packages & Articles

ansible-lint 24.9.2

Checks playbooks for practices and behavior that could potentially be improved