When using group_vars : ValueError: dictionary update sequence element #0 has length 1; 2 is required

Hi,

I am introducing group_vars & children in my inventory into my Ansible environment as I need to update cron-tabs for different geographical regions using templates the basics of what you can see below. When I run the playbook it produces the error as seen at the bottom. A bit of research tells me that I am not the only 1 to see similar errors. Is this a bug that can be fixed with an upgrade or are there work-arounds? I’ve tried the vars file with different formatting to no avail.

Version Info : ansible 2.2.1.0

e.g. Template

`

{{ daily_min }} {{ daily_hr }} * * 0 /path/weekly.sh > /dev/null 2>&1

{{ weekly_min }} {{ weekly_hr }} * * * /path/chk.sh > /dev/null 2>&1
`

e.g. Group_var

`

vars files require that the top level is a dictionary, not a list:

crons:
    - { daily-min: "15", daily-hr: "01" }
    - { weekly-min: "15", weekly-hr: "03" }