我认为这是剧本中产生错误的部分.我该如何重写这部分内容?
roles:
- role: json-transform
json_transforms: '{{ clientValidation.json_transforms}}'
Run Code Online (Sandbox Code Playgroud)
它抛出以下警告:
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment value uses the full variable syntax ('{{json_transforms}}'). This feature will be removed in a
future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
Run Code Online (Sandbox Code Playgroud) ansible ×1