使用molecule 开发测试ansible roles

molecule 是ansible 社区提供的一个方便用来开发以及测试ansible roles 的工具包,基于此我们可以开发强健的ansible roles
molecule 底层使用了galaxy,对于需要开发ansible roles 的此模块是很值得使用的,dev-sec 的ansible roles 开发模块就使用
了此工具

参考资料

https://github.com/ansible-community/molecule
https://molecule.readthedocs.io/en/latest/installation.html
https://docs.ansible.com/ansible/latest/galaxy/dev_guide.html
https://molecule.readthedocs.io/en/latest/configuration.html#driver
https://github.com/dev-sec/ansible-collection-hardening

posted on 2022-05-29 23:35  荣锋亮  阅读(117)  评论(0编辑  收藏  举报

导航