summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2024-07-02 20:27:17 +0200
committerGitHub <noreply@github.com>2024-07-02 20:27:17 +0200
commit6c0f4c8a2df78e0863723bffa06f6594b9bdd540 (patch)
tree89b641bff9bcda4b5683d0519d74710709a0e301 /test/integration
parentFix require_only_one. (#83511) (diff)
downloadansible-6c0f4c8a2df78e0863723bffa06f6594b9bdd540.tar.xz
ansible-6c0f4c8a2df78e0863723bffa06f6594b9bdd540.zip
hostvars templating fix, override serialization (#83509)
fixes #82872 nicer implementation courtesy of nitzmahone
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/targets/template/runme.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/targets/template/runme.sh b/test/integration/targets/template/runme.sh
index e8141104be..b37467a271 100755
--- a/test/integration/targets/template/runme.sh
+++ b/test/integration/targets/template/runme.sh
@@ -55,3 +55,5 @@ do
ANSIBLE_CONFIG="./${badcfg}.cfg" ansible-config dump --only-changed
done
+# ensure we picle hostvarscorrectly with native https://github.com/ansible/ansible/issues/83503
+ANSIBLE_JINJA2_NATIVE=1 ansible -m debug -a "msg={{ groups.all | map('extract', hostvars) }}" -i testhost, all -c local -v "$@"