更新时间:2023-01-08 12:41:43
我认为可行的依赖关系在这里会有所帮助.只需创建一个
/meta/main.yml
在您的角色内,具有以下内容:
I think ansible depenencies would help here. Just create a
/meta/main.yml
inside your role with the following:
---
dependencies:
- { role: celery, tags: ["sometag"], when: "celery == 'yes'" }