sor*_*rin 3 ansible molecule
当我使用 Ansible Molecule 执行功能测试时,跳过某些角色任务的最简单方法是什么?
sor*_*rin 8
您可以使用两个标签,当代码由分子运行时,它们是隐式的,notest并且molecule-notest.
notest
molecule-notest
例子:
- name: my task tags: notest shell: sudo rm -rf /
归档时间:
6 年,2 月 前
查看次数:
2361 次
最近记录:
5 年,3 月 前