This question already has an answer here:
- How to use Ansible's with_item with a variable? 1 answer
I think this is the part of the playbook that is generating the error. How should I be re-writing this part?
roles:
- role: json-transform
json_transforms: '{{ clientValidation.json_transforms}}'
It throws the following warning:
[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.