从ansible动态清单文件构建分子配置文件
moleculerize的Python项目详细描述
分子化
从ansible动态清单文件构建分子配置文件
快速入门指南
从pypi安装moleculerize,pip:
$ pip install moleculerize
有关使用moleculerize启动帮助的详细信息,请通过:
$ moleculerize --help
下面是一个从ansible动态清单文件构建分子配置的示例:
$ moleculerize --output molecule/default/molecule.yml /path/to_my/dynamic_inventory.json
选项
选项以一个或两个破折号开头。许多期权都是附加值 在他们旁边。
-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.rst
学分
这个包是用Cookiecutter和audreyr/cookiecutter-pypackage项目模板创建的。