Annotate more files, fix missing imports messing with playbooks. Hey Tim, please test your stuff :)

This commit is contained in:
Michael DeHaan 2012-03-13 19:19:54 -04:00
commit 09a7119e74
7 changed files with 119 additions and 23 deletions

View file

@ -22,6 +22,7 @@ import sys
import ansible.playbook
import ansible.constants as C
from ansible.utils import *
from ansible.errors import *
import getpass
from optparse import OptionParser
@ -99,7 +100,7 @@ def main(args):
try:
pb.run()
except AnsibleError as e:
print e
print >>sys.stderr, "ERROR: %s" % e
return 1
return 0