i would like to print the value of variable 'varB' from the board tab1. i assume that 'inventory_hostname' is variable from inventory and pass DEBIAN1
ansible-inventory --list
...
"_meta": {
        "hostvars": {
            "DEBIAN1": {
                "var0": true,
                "tab1": [
                {
                    "varA": "toto",
                    "varB": "titi"
                }
    ],
...
My playbook:
tasks:
    - name: TEST1
      debug:
        msg: "print me this {{ hostvars[inventory_hostname].tab1[.varB] }}"
The result is always FAILED... Couls you help me for this code... I m looking for a solution for 2 days...
