Allow variables coming in from the playbook and the API to be expressed as dictionaries throughout their full life cycle

such that nested data can be made available in templates and playbooks.
This commit is contained in:
Michael DeHaan
2012-04-10 20:58:40 -04:00
parent 5a4d4bc051
commit 1d75a29ec9
4 changed files with 75 additions and 36 deletions

View File

@@ -15,7 +15,7 @@
"answer": "Wuh, I think so, Brain, but if we didn't have ears, we'd look like weasels.",
"changed": true,
"metadata": "/etc/ansible/setup",
"port": "5150",
"port": 5150,
"written": "/etc/ansible/setup"
}
]
@@ -44,7 +44,7 @@
"cow": "moo",
"duck": "quack",
"metadata": "/etc/ansible/setup",
"port": "5150",
"port": 5150,
"testing": "default",
"written": "/etc/ansible/setup"
}
@@ -228,6 +228,21 @@
"127.0.0.2"
]
],
[
"ok",
[
"127.0.0.2",
{
"started": 1
}
]
],
[
"async poll",
[
"127.0.0.2"
]
],
[
"ok",
[