I understand that version 2 has more restricted rules to check the syntax, but I am puzzled by following template error:
name: test template
template: src=test.j2 dest=/tmp/test.txt
fatal: [testv2]: FAILED! => {“changed”: false, “failed”: true, “msg”: “Failed to get information on remote file (/tmp/test.txt): unsupported parameter for module: checksum_algo”}
Sorry for wrong subject in this post, there were another template test which could not find template files in the templates directory of the roles. No problems when running under version 1.9.
fatal: [testansiblev2]: FAILED! => {“changed”: false, “failed”: true, “msg”: “IOError: [Errno 2] No such file or directory: u’/testansiblev2/test_build/test.j2’”}