Skip to main content

Build molecule config files from an Ansible dynamic inventory file

Project description

Moleculerize

Build molecule config files from an Ansible dynamic inventory file

Quick Start Guide

  1. Install moleculerize from PyPI with pip:

    $ pip install moleculerize
  2. For more information on using the moleculerize launch help by:

    $ moleculerize --help
  3. Here is an example of building a molecule config from an Ansible dynamic inventory file:

    $ moleculerize --output molecule/default/molecule.yml /path/to_my/dynamic_inventory.json

Options

Options start with one or two dashes. Many of the options an additional value next to them.

-h, --help

Usage help. This lists all current command line options with a short description.

-o, --output <file>

Write the molecule config to <file>. If this option is omitted, the config will be written to molecule.yml.

-s, --scenario <name>

The molecule config scenario to be created and defined in the config file.

-t, --template <file>

Use the jinja2 template <file> for creating the molecule config file. If this option is omitted, the template is assumed to be data/molecule.yml.j2.

Release Process

See release_process.rst for information on the release process for ‘moleculerize’

Credits

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

History

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

moleculerize-1.1.0-py2.py3-none-any.whl (8.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file moleculerize-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: moleculerize-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/2.7.15

File hashes

Hashes for moleculerize-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0888d7ab85e5da120fc5e7d0fda465da35dbde5f7f6ca4277d82eb1ae44c887f
MD5 25f908ca271e44d37c9f680b655234a7
BLAKE2b-256 1b236a082a7b490e2273201408839e0919166803b5eff5e5994110b7fbf5fcda

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page