From 90134b0ac356fd86f8a6cb2ebadced317be33b82 Mon Sep 17 00:00:00 2001 From: Martin Krizek Date: Thu, 24 Sep 2020 21:52:06 +0200 Subject: [PATCH] Ensure native jinja is off for non-native tests (#71914) Even if native jinja is off by default now it is better to be explicit and it will be prepared in case we changed that default. --- test/integration/targets/set_fact/runme.sh | 2 +- test/integration/targets/templating_lookups/runme.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/targets/set_fact/runme.sh b/test/integration/targets/set_fact/runme.sh index 364798a1f55..b658f594395 100755 --- a/test/integration/targets/set_fact/runme.sh +++ b/test/integration/targets/set_fact/runme.sh @@ -26,5 +26,5 @@ fi ansible-playbook -i inventory --flush-cache "$@" set_fact_no_cache.yml # Test boolean conversions in set_fact -ansible-playbook -v set_fact_bool_conv.yml +ANSIBLE_JINJA2_NATIVE=0 ansible-playbook -v set_fact_bool_conv.yml ANSIBLE_JINJA2_NATIVE=1 ansible-playbook -v set_fact_bool_conv_jinja2_native.yml diff --git a/test/integration/targets/templating_lookups/runme.sh b/test/integration/targets/templating_lookups/runme.sh index e958bcfb648..ebfc0d11354 100755 --- a/test/integration/targets/templating_lookups/runme.sh +++ b/test/integration/targets/templating_lookups/runme.sh @@ -9,4 +9,4 @@ ansible-playbook template_lookup_vaulted/playbook.yml --vault-password-file temp ansible-playbook template_deepcopy/playbook.yml -i template_deepcopy/hosts "$@" # https://github.com/ansible/ansible/issues/66943 -ansible-playbook template_lookup_safe_eval_unicode/playbook.yml "$@" +ANSIBLE_JINJA2_NATIVE=0 ansible-playbook template_lookup_safe_eval_unicode/playbook.yml "$@"