MIT License

项目介绍

ansible/molecule 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 4.2k 个 Star、661 次 Fork。

仓库全名
ansible/molecule
开源许可证
MIT License
Star 数
4.2k
Fork 数
661
未关闭 Issue
59

README 摘要

About Ansible Molecule Molecule is an Ansible testing framework designed for developing and testing Ansible collections, playbooks, and roles. Molecule leverages standard Ansible features including inventory, playbooks, and collections to provide flexible testing workflows. Test scenarios can target any system or service reachable from Ansible, from containers and virtual machines to cloud infrastructure,…

完整内容见 GitHub 原始 README 或本页 。

常见问题

molecule 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 4.2k 个 Star。

molecule 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 molecule 的源码?

可以直接克隆仓库:git clone https://github.com/ansible/molecule.git,默认分支为 main;安装与运行步骤见仓库 README。

molecule 最近还在维护吗?

仓库最近一次更新为 1 天前,当前有 59 个未关闭 Issue;Star 数为 4.2k,可作为社区活跃度的参考。

README

About Ansible Molecule

PyPI Package Documentation Status image Python Black Code Style Ansible Code of Conduct Discussions Repository License

Molecule is an Ansible testing framework designed for developing and testing Ansible collections, playbooks, and roles.

Molecule leverages standard Ansible features including inventory, playbooks, and collections to provide flexible testing workflows. Test scenarios can target any system or service reachable from Ansible, from containers and virtual machines to cloud infrastructure, hyperscaler services, APIs, databases, and network devices. Molecule can also validate inventory configurations and dynamic inventory sources.

Molecule encourages an approach that results in consistently developed Ansible content that is well-written, easily understood and maintained.

Molecule supports only the latest two major versions of Ansible (N/N-1).

Once installed, the command line can be called using any of the methods below:

molecule ...
python3 -m molecule ...  # python module calling method

Documentation

Read the documentation and more at https://docs.ansible.com/projects/molecule//.

Get Involved

See the Talk to us section of the documentation to ask questions, find help, and join the conversation.

For complete details, see the Ansible communication guide.

If you want to get moving fast and make a quick patch:

git clone https://github.com/ansible/molecule && cd molecule
python3 -m venv .venv && source .venv/bin/activate
python3 -m pip install -U setuptools pip tox

And you’re ready to make your changes!

Authors

Molecule project was created by Retr0h and it is now community-maintained as part of the Ansible by Red Hat project.

License

The MIT License.

The logo is licensed under the Creative Commons NoDerivatives 4.0 License.

If you have some other use in mind, contact us.

评论

暂无评论