Add pydoc to playbook binary, fix default types for playbook '.get()' call

This commit is contained in:
Michael DeHaan 2012-03-02 21:20:37 -05:00
parent 34cbbfbfe1
commit c57df6220b
2 changed files with 10 additions and 3 deletions

View file

@ -161,8 +161,8 @@ class PlayBook(object):
# summary information about successes and
# failures. TODO: split into subfunction
dark = results.get("dark", [])
contacted = results.get("contacted", [])
dark = results.get("dark", {})
contacted = results.get("contacted", {})
ok_hosts = contacted.keys()
for host, msg in dark.items():