是否可以在消息输出中包含现有变量的值vars_prompt?
我希望做这样的事情:
- hosts: production
vars_prompt:
confirm: "This playbook is configured to act on all $hosts hosts, please confirm"
Run Code Online (Sandbox Code Playgroud)
......打印的问题vars_prompt应该是:
"This playbook is configured to act on all **production** hosts, please confirm"
为了使用数据填充服务,我想从angular-translate的$ translate服务获取特定命名空间下的所有翻译.
基本上我正在寻找的是这样的东西(不支持):
$translate('SOME.NAMESPACE.*').then(...);
Run Code Online (Sandbox Code Playgroud)
由于这不存在,我想我此时最好的方法是解析我自己同步提供的后备翻译表吗?