Ansible Molecule

Molecule 可帮助开发和测试 Ansible 内容:集合、玩法和角色。「Molecule aids in the development and testing of Ansible content: collections, playbooks and roles」

About Ansible Molecule

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

Molecule project is designed to aid in the development and testing of
Ansible roles.

Molecule provides support for testing with multiple instances, operating
systems and distributions, virtualization providers, test frameworks and
testing scenarios.

Molecule encourages an approach that results in consistently developed
roles that are well-written, easily understood and maintained.

Molecule supports only the latest two major versions of Ansible (N/N-1),
meaning that if the latest version is 2.9.x, we will also test our code
with 2.8.x.

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://molecule.readthedocs.io/.

Get Involved

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

$ git clone https://github.com/ansible-community/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.

主要指標

概覽
名稱與所有者ansible/molecule
主編程語言Python
編程語言Python (語言數: 3)
平台BSD, Linux, Mac
許可證MIT License
所有者活动
創建於2015-11-18 00:13:28
推送於2025-07-20 05:40:31
最后一次提交
發布數227
最新版本名稱v25.6.0 (發布於 )
第一版名稱1.0 (發布於 )
用户参与
星數4k
關注者數111
派生數668
提交數3k
已啟用問題?
問題數1513
打開的問題數74
拉請求數2138
打開的拉請求數3
關閉的拉請求數398
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?