Test for new implementation of validation error output in:
- https://github.com/bertvv/ansible/tree/wip/validation-output
- https://github.com/bertvv/ansible-modules-core/tree/wip/validation-output
Run with
ansible-playbook -i inventory test.yml --skip-tags=fail
Tests that should fail are tagged as such. Leave the --skip-tags to let them fail...
File contents for test fixture:
- inventory:
localhost - a/testcopysucceed.txt:
This is a test - a/testcopyfail.txt:
This will fail - a/template.j2:
{{ ansible_hostname }}
Directory b/ should contain two empty files, b/lineinfilenovalidation.txt and b/lineinfile.txt.