add pyflakes target & associated fixes. Also decided to save JSON to --tree file so it can

be better used programatically.  May have to come up with another system of tree logging for
playbook if playbook decides to have tree logging.  Presumably not the highest priority.
This commit is contained in:
Michael DeHaan 2012-03-02 22:10:51 -05:00
parent 3ad9db4966
commit 6541f338df
5 changed files with 9 additions and 7 deletions

View file

@ -137,7 +137,7 @@ class PlayBook(object):
# load the module name and parameters from the task entry
name = task['name']
action = task['action']
comment = task.get('comment', '')
# comment = task.get('comment', '')
tokens = shlex.split(action)
module_name = tokens[0]
@ -167,7 +167,6 @@ class PlayBook(object):
dark = results.get("dark", {})
contacted = results.get("contacted", {})
ok_hosts = contacted.keys()
for host, msg in dark.items():
self.processed[host] = 1