一个可扩展的测试框架
ansible-test-tool的Python项目详细描述
Ansible Test是一个在Docker容器中测试自动化的工具。它有点像厨师的厨房。
usage: ansible-test [-h][--ansible ANSIBLE][--image IMAGE] role roles_path positional arguments: role Define the role to test roles_path Define the path to the roles (like in ansible.cfg) optional arguments: -h, --help show this help message and exit --ansible ANSIBLE, -a ANSIBLE The ansible version to install --image IMAGE, -i IMAGE The docker base image to test the role/playbook on.
安装
安装ansible测试:
$ pip install ansible-test
文档
Ansible测试要求在本地安装Docker。如果您使用的是MacOSX,我建议您使用Boot2Docker。