1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

avoid hostvars which is not a dict

This commit is contained in:
Brian Coca 2015-08-24 22:18:57 -04:00
parent 857d74a274
commit 104b8a9a7b

View file

@ -1,2 +1,2 @@
Provoke a python2.6 json bug
{{ hostvars | to_nice_json }}
{{ hostvars[inventory_hostname] | to_nice_json }}