mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Annotate more files, fix missing imports messing with playbooks. Hey Tim, please test your stuff :)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user