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.

Files for moleculerize, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size moleculerize-1.1.0-py2.py3-none-any.whl (8.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page