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.
15 lines
284 B
YAML
15 lines
284 B
YAML
---
|
|
- set_fact:
|
|
output_dir: "{{ lookup('env', 'OUTPUT_DIR') }}"
|
|
|
|
- template:
|
|
src: test
|
|
dest: "{{ output_dir }}/templated_test"
|
|
register: custom_template_result
|
|
|
|
- debug:
|
|
msg: "{{ custom_template_result }}"
|
|
|
|
- assert:
|
|
that:
|
|
- custom_template_result.changed
|