Question Why is the following a list of dicts, rather than a dict?
ok: [default] => {
"environment": [
{
"foo": "bar"
}
]
}
Answer (From #ansible on freenode.irc.net)
(10:56:14 AM) lanky: jugglinmike: because that's how environment variables appear to be stored - converted to a list of dict, allows task and role environments to inherit playbook environments.