diff options
author | Brian Coca <bcoca@users.noreply.github.com> | 2024-07-02 20:27:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-02 20:27:17 +0200 |
commit | 6c0f4c8a2df78e0863723bffa06f6594b9bdd540 (patch) | |
tree | 89b641bff9bcda4b5683d0519d74710709a0e301 /test/integration | |
parent | Fix require_only_one. (#83511) (diff) | |
download | ansible-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-x | test/integration/targets/template/runme.sh | 2 |
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 "$@" |