Skip to main content

Docker Dynamic Inventory

https://img.shields.io/pypi/v/docker_dynamic_inventory.svg https://img.shields.io/travis/inhumantsar/docker_dynamic_inventory.svg Documentation Status

Generates a dynamic inventory of Docker containers for Ansible.

Features

  • Able to filter out a single host by name.

  • Optionally includes Docker metadata in Ansible’s hostvars.

  • Optionally pretty-prints output for readability.

  • Operates on the local Docker instance by default but can work with a remote host as well.

  • Can be used as a Python module (if you really want to)

Usage

Usage: docker-dynamic-inventory [OPTIONS]

Dynamic inventories of Docker containers, served up fresh just for
Ansible.

Options:
  --host TEXT                 Only match containers with this name.
  --metadata / --no-metadata  Include container metadata.
  --pretty / --ugly           Pretty print JSON for output.
  --docker_tls TEXT           Use TLS for Docker connections.
  --docker_host TEXT          Docker host to connect to.
  --help                      Show this message and exit.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2018-02-23)

  • First release on PyPI.

Metadata

Release files for docker-dynamic-inventory 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docker-dynamic-inventory 0.1.5
File Size Uploaded
docker-dynamic-inventory-0.1.5.tar.gz 14.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for docker-dynamic-inventory 0.1.5
File Interpreter ABI Platform
docker_dynamic_inventory-0.1.5-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 21.5 kB

Release files / docker-dynamic-inventory-0.1.5.tar.gz

Download URL docker-dynamic-inventory-0.1.5.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b05a6431c12439128b397597568849ce8801e98a7e7f7b729c02ff99bdf2d1e5
BLAKE2b-256 checksum
How to use checksums
3a6d6dfda6fa85047c061efefad2f0628fe24c94b7f4eee88f6fd51e9c3fe0c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / docker_dynamic_inventory-0.1.5-py2.py3-none-any.whl

Download URL docker_dynamic_inventory-0.1.5-py2.py3-none-any.whl
Size 6.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
110e79efba4512ff1372eaf0444d2723e5f1b3602e40cea147bc326bda3bb634
BLAKE2b-256 checksum
How to use checksums
ae56d4b56e2e46db53de6bc5b24fd6d39492dbd976800a59719c0aa02165ecff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

1 release file

0.1.2

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page