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 hashes)

Uploaded Python 2 Python 3

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