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
.