Build molecule config files from an Ansible dynamic inventory file
Install
moleculerize
from PyPI with pip:$ pip install moleculerize
For more information on using the moleculerize launch help by:
$ moleculerize --help
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 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. |
See release_process.rst for information on the release process for 'moleculerize'
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.