0c74ee4352
* Fix var_blending test temp dir usage. * Fix filters integration test: - Fix use of `output_dir`. - Use `localhost` instead of `testhost` since we're only testing filters. - Fix `fileglob` test to actually test a directory that exists. * Fix lookups integration test: - Fix use of `output_dir`. - Use `localhost` instead of `testhost` since we're only testing lookups. * Fix ansible-runner test temp dir usage. * Fix template and template_jinja2_latest test. Use the `OUTPUT_DIR` env var to get the output directory for the tests. * Fix Python version compat in filters test. * Skip filters test on Python 2.6.
21 lines
652 B
Bash
Executable file
21 lines
652 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -eux
|
|
|
|
ANSIBLE_ROLES_PATH=../ ansible-playbook template.yml -i ../../inventory -v "$@"
|
|
|
|
# Test for #35571
|
|
ansible testhost -i testhost, -m debug -a 'msg={{ hostvars["localhost"] }}' -e "vars1={{ undef }}" -e "vars2={{ vars1 }}"
|
|
|
|
# Test for https://github.com/ansible/ansible/issues/27262
|
|
ansible-playbook ansible_managed.yml -c ansible_managed.cfg -i ../../inventory -v "$@"
|
|
|
|
# Test for #42585
|
|
ANSIBLE_ROLES_PATH=../ ansible-playbook custom_template.yml -i ../../inventory -v "$@"
|
|
|
|
|
|
# Test for several corner cases #57188
|
|
ansible-playbook corner_cases.yml -v "$@"
|
|
|
|
# Test for #57351
|
|
ansible-playbook filter_plugins.yml -v "$@"
|